simple multiplication / summation using matlab
古いコメントを表示
i want to do some complicate calculations by matlab of following

n=0:65119;
x = cos(3.6*n)*sin(3.6*n);
y = x*x
it shows errors however, saying
Error in ==> ex3_1_2 at 3 x = cos(3.6*n)*sin(3.6*n);
what's happening?
2 件のコメント
Daniel Shub
2012 年 10 月 4 日
do you want n to be 0:65119 or 0.65119?
Passband Modulation
2012 年 10 月 4 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Mathematics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!