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 CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by