Deank1905

15 Reputation

3 Badges

7 years, 81 days

MaplePrimes Activity


These are questions asked by Deank1905

Hi,

I would like to plot a stem plot of a function and its Fourier transform but I'm not too sure how to. I have tried using different packages like DiscreteTransforms, DynamicSystems and SignalProcessing but can't seem to get it to work. Any advice is appreciated.

Thanks

Hi,

So I need an example of how the discrete fourier transform works, and I would like to do this using Maple but I can't figure out how to plot a discrete function. I have attached an example from wikipedia which is what I would like. It is the function on the right of the image. I have tried plotting a vector but then I can't seem to plot this. Let me know if the question isn't quite clear.

Thanks

 

My procedure produces multiple different values for the same variable which is fine but I need a way of finding the lowest common multiple of all of the values. Is there a way to do this? Every time I try to do it, Maple gives me the last value it calculated.

I'm trying to use the continued fractions expansion to simplify a fraction, and I need to cut the expansion off for large values (for example when a denominator is greater than 20). I have a list of the outputs but I'm struggling to find the correct commands to use in order to do this.

p := ContinuedFraction((q-1)/2^t);
print(p);
cf := Term(p, 0..100);
print(cf);
R := Convergent( p, 100);
r := denom(R);
printf("The order is %d"\n, r);
 

This is the section of code, any help would be appreciated, thanks.

Page 1 of 1