how to multiply each row in a column by different numbers
이전 댓글 표시
say, a file consists of a single column with 10000 rows
load file.txt
a = file;
k=1:10000;
s = a(k,1).*cosd(3.6*k);
k=0:10000;
plot(k,s)
xlabel('k');
it does work at all, could anyone help?
댓글 수: 2
Image Analyst
2012년 10월 5일
Do you know how to use the debugger to step though your code? This would be easily solved if you did that.
Passband Modulation
2012년 10월 5일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!