How can I plot average and then the error bar with standard deviation?

12 vues (au cours des 30 derniers jours)
Pul
Pul le 27 Avr 2021
Modifié(e) : Pul le 5 Mai 2021
Hi everyone, I should plot the average (Var 8) with standard deviation (Var7) as error bar.
plot(example_daily.Time(:,1),[example_daily.Var5(:,1), B, example_sd.Var7(:,1)]);
Can anyone help me kindly?
Thank you.

Réponses (1)

the cyclist
the cyclist le 27 Avr 2021
You can use the errorbar function.
  5 commentaires
Pul
Pul le 28 Avr 2021
I'm sorry, I'm pretty new on the forum and matlab too, so I can't understand very well what you mean.
I attached my example in the question, so I thought it was okay...
I should plot a vertical error barr with standard deviation.
Thank you.
the cyclist
the cyclist le 28 Avr 2021
  1. Can you upload giulia_TT.mat ?
  2. Can you upload giulia_sd.mat ?
  3. What is the output of the command which errorbar -all ?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Errorbars 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