vertical Values in for loop and plotting them
2 次查看(过去 30 天)
显示 更早的评论
i want to plot this random values virtcelly for each column in one x value or t here and get the error bar for each of the five but i know it seems easy but i'm new to programming here the code
x = randn(5);
t = 1:5;
for i = t
plot(t(i));
hold on
for i = t
plot(x(i,1),'o');
end
end
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!