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!