Multiple Answers in Matrix
显示 更早的评论
What I'm looking to do is create a script that will put the values between 1 and 50 by increments of 0.5 in a Matrix after they go through the equation 331+(0.6*k). This is what I have so far but it only gives me one value and I'm stumped on how to do a matrix with all of the values:
for k=0:0.5:50;
wave=331+(0.6*k);
end
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!