vertical Values in for loop and plotting them

1 vue (au cours des 30 derniers jours)
Muhannad AL-hazmi
Muhannad AL-hazmi le 12 Nov 2020
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

Réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by