plot SEM error bars
Mostrar comentarios más antiguos
hi everyone, i have 2 column such as
X=[ -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10]
Y=[0.9996 1.0000 0.9772 0.8978 0.6916 0.3253 0.0680 0.0091 0.0089 0.0088 0.0098 0.0119]
i want to plot SEM error bars using errorbar function,but when i calculate the SEM it only gives me one value and errobar function show this error:
'X, Y and error bars must all be the same length'
can you please help me with that.
SEM=std(data)./sqrt(length(data))
thank you
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Errorbars en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!