Error:Subscript indices must either be real positive integers or logicals.
古いコメントを表示
[EDIT: Thu May 26 14:57:40 UTC 2011 - Reformat - MKF]
My code
w=[-1000:1:1000]*(4*pi/2000);
x=exp(-i*w/2).*sin(3*w);
mag=abs(x);
arg=angle(x);
realX=real(x);
imaginaryX=imag(x);
error
baitap_1_15 at 5
real_x=real(x);
??? Subscript indices must either be real positive integers or logicals.
Can you help me?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Hilbert and Walsh-Hadamard Transforms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!