vertical Values in for loop and plotting them

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

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Asked:

on 12 Nov 2020

Community Treasure Hunt

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

Start Hunting!