Borrar filtros
Borrar filtros

Error that makes no sense at all

2 visualizaciones (últimos 30 días)
Stephen Thompson
Stephen Thompson el 22 de Feb. de 2017
Respondida: Adam el 23 de Feb. de 2017
Suddenly the histogram function doesn't generate plots. I tested it with this:
>> x = randn(10000,1);
>> h = histogram(x)
Error using histogram
Too many input arguments.
What gives?
  6 comentarios
Stephen Thompson
Stephen Thompson el 23 de Feb. de 2017
Indeed I had something added to my path with a histogram.m in it.
Steven Lord
Steven Lord el 23 de Feb. de 2017
In that case, Adam can you submit your comment as an answer so Stephen can accept that answer and give you credit?

Iniciar sesión para comentar.

Respuestas (1)

Adam
Adam el 23 de Feb. de 2017
What is the result of
which histogram -all
?
At a guess you have probably created your own function with that name

Categorías

Más información sobre Histograms 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