Mode function not working

2 visualizaciones (últimos 30 días)
Nicholas
Nicholas el 23 de Nov. de 2011
I am trying to use the mode function in Matlab version 7.9.0 (R2009b) and it keeps giving me the same errors even when I enter examples from Matlab help. Is it possible to change the code myself or am I doing something wrong?
  1 comentario
Fangjun Jiang
Fangjun Jiang el 23 de Nov. de 2011
What example code did you run and what error message?

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 23 de Nov. de 2011
It would help if you were to indicate exactly what error you see.
Please command
which -all mode
and check to see whether MATLAB is picking up a mode.m file other than the MATLAB supplied one, which should be in
toolbox/matlab/datafun/mode.m

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by