Borrar filtros
Borrar filtros

Graph.m error - undefined function error Help!

1 visualización (últimos 30 días)
Md.
Md. el 18 de Ag. de 2013
I am trying to run a code in my matlab software but it gives me an error. It says:
Undefined function 'graph' for input arguments of type 'double'.
Error in lab2 (line 25)
graph(1,311,t,g,TimeAxes, 't(s)', 'g(t)','a sinusoid');
I am not sure how to fix this. Please help.

Respuestas (2)

Image Analyst
Image Analyst el 18 de Ag. de 2013
You need to define graph. Put this line before that line and see what it says
which -all graph

Md.
Md. el 18 de Ag. de 2013
Editada: Md. el 18 de Ag. de 2013
Says
'graph' not found.
  2 comentarios
Image Analyst
Image Analyst el 18 de Ag. de 2013
Well, there's your answer.
By the way, you should have put that as a comment to my answer since it's not an Answer in itself to your original question.
Next step: locate graph function, or someone who can provide it to you.
Walter Roberson
Walter Roberson el 18 de Ag. de 2013
As a clarification: graph() is not a MATLAB routine.

Iniciar sesión para comentar.

Categorías

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