How Can i solve this problem
Mostra commenti meno recenti
T=2*pi;
ts=0.01;
t=0:ts:ts-T;
K=0:60;
N=60;
xt= 2.*sin(4*pi*t) + 5.*cos(8*pi*t);
TK=T'*K;
W=exp(-1i*2*pi/N).^TK;
x4=xt.*W;
magx4=abs(xt);
angx4=angle(xt);
figure,subplot(2,1,1);stem(magx4)
figure,subplot(2,1,2);stem(angx4);
Error using .*
Arrays have incompatible sizes for this operation.
Related documentation
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Applications in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

