Alger

489 Reputation

16 Badges

10 years, 241 days

MaplePrimes Activity


These are replies submitted by Alger

When you execut the command for a range 0 to 1, you should enter the range for a, as:

0 to 1. (float) and not 0 to 1

It work now

Thanks

It work now

Thanks

Work well

Thank you

Work well

Thank you

@Alec Mihailovs

Thank you for your help

I understand my error

 

@Alec Mihailovs

Thank you for your help

I understand my error

 

Thank you for the two answers.

I have some difficulties to plot the DFT and compare it to Fourier series as:

ffs:=t->(a[0]/2)+Sum(a[i]*cos(2*Pi*t*i/T)+b[i]*sin(2*Pi*t*i/T),i=1..N-1);

fdft:=t->(a0/2)+Sum(A[i]*cos(2*Pi*t*i/T)+B[i]*sin(2*Pi*t*i/T),i=1..N-1);

plot({ffs(t),fdft(t)},t=0..2);

Error, (in fdft) bad index into Array

Perhaps due to Arrays ?

Could you help

Thanks

Thank you for the two answers.

I have some difficulties to plot the DFT and compare it to Fourier series as:

ffs:=t->(a[0]/2)+Sum(a[i]*cos(2*Pi*t*i/T)+b[i]*sin(2*Pi*t*i/T),i=1..N-1);

fdft:=t->(a0/2)+Sum(A[i]*cos(2*Pi*t*i/T)+B[i]*sin(2*Pi*t*i/T),i=1..N-1);

plot({ffs(t),fdft(t)},t=0..2);

Error, (in fdft) bad index into Array

Perhaps due to Arrays ?

Could you help

Thanks

Thank you for your good answers

Thanks

Thank you for your good answers

Thanks

Could the asker give boundary conditions ?

I an interested to know how we can find _F1 and _F2

Could the asker give boundary conditions ?

I an interested to know how we can find _F1 and _F2

restart:

liste:=[x^2,2*y]:

zip(assign, [seq(w[i],i=1..2)], liste);

w[2];

                                2*y

restart:

liste:=[x^2,2*y]:

zip(assign, [seq(w[i],i=1..2)], liste);

w[2];

                                2*y

5 6 7 8 9 10 11 Last Page 7 of 16