- #1
dillonmhudson
- 49
- 0
Matrix "." Help in MATLAB
Here is my code:
f=linspace(0,1000,1000);
xf=abs((1-exp(1-2*pi*f.*1i))/(2*pi*f.*1i-1)+(((exp(4*pi*f.*1i)-1)*exp(1-6*pi*f.*1i))/(2*pi*f.*1i))+(((2*pi*f.*1i-1)*exp(1-6*pi*f.*1i)+exp(1-10*1i*f.*pi))/(8*pi^2*f.^2*1i)));
func=plot(f,xf)
I just need to know where the periods need to go, I don't get what I'm doing wrong.
TIA
Here is my code:
f=linspace(0,1000,1000);
xf=abs((1-exp(1-2*pi*f.*1i))/(2*pi*f.*1i-1)+(((exp(4*pi*f.*1i)-1)*exp(1-6*pi*f.*1i))/(2*pi*f.*1i))+(((2*pi*f.*1i-1)*exp(1-6*pi*f.*1i)+exp(1-10*1i*f.*pi))/(8*pi^2*f.^2*1i)));
func=plot(f,xf)
I just need to know where the periods need to go, I don't get what I'm doing wrong.
TIA