Mode function not working

2 次查看(过去 30 天)
Nicholas
Nicholas 2011-11-23
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 个)

Walter Roberson
Walter Roberson 2011-11-23
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

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by