필터 지우기
필터 지우기

Graph.m error - undefined function error Help!

조회 수: 1 (최근 30일)
Md.
Md. 2013년 8월 18일
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.

답변 (2개)

Image Analyst
Image Analyst 2013년 8월 18일
You need to define graph. Put this line before that line and see what it says
which -all graph

Md.
Md. 2013년 8월 18일
편집: Md. 2013년 8월 18일
Says
'graph' not found.
  댓글 수: 2
Image Analyst
Image Analyst 2013년 8월 18일
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 2013년 8월 18일
As a clarification: graph() is not a MATLAB routine.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Directed Graphs에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by