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!