Graph.m error - undefined function error Help!
2 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (2 件)
Image Analyst
2013 年 8 月 18 日
You need to define graph. Put this line before that line and see what it says
which -all graph
0 件のコメント
Md.
2013 年 8 月 18 日
編集済み: Md.
2013 年 8 月 18 日
2 件のコメント
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.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!