input for function drawgraph(coords)
1 回表示 (過去 30 日間)
古いコメントを表示
There is an example function in MATLAB which is the following:
function drawgraph(coords)
plot(coords(1,:), coords(2,:));
My input is:
coords = [1 2 3; 4 5 6]
but I'm receiving an error?"
What is the purpose of this function?
Amanda
1 件のコメント
Akiva Gordon
2012 年 11 月 16 日
What is the error message that you are seeing? And where are you finding this example? This is not a built-in MATLAB function.
採用された回答
Matt Fig
2012 年 11 月 16 日
Are you talking about the function on this page?
There is more to the function that you show! So please, tell the whole story, including the exact text of the error message and how you call the function.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!