Mode function not working

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 Kommentar

Fangjun Jiang
Fangjun Jiang am 23 Nov. 2011
What example code did you run and what error message?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 23 Nov. 2011

0 Stimmen

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

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 23 Nov. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by