Error while calculating Variance

12 visualizaciones (últimos 30 días)
Eryk Fernandes
Eryk Fernandes el 16 de Feb. de 2017
Comentada: Walter Roberson el 16 de Feb. de 2017
Hi guys, i'm trying to calculate the variance using the funcion var, but i'm getting this error
"Error using size Dimension argument must be a positive integer scalar within indexing range.
Error in var (line 95)
n = size(x,dim);
Error in Untitled (line 235) var1=var(t1,trm1,Et01);"
Already tried to change so many things, but nothing. Any help will be appreciated, thank you.
  1 comentario
Walter Roberson
Walter Roberson el 16 de Feb. de 2017
You are passing three inputs to var. What role do you expect each of those to play?

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by