input for function drawgraph(coords)
Show older comments
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 Comment
Akiva Gordon
on 16 Nov 2012
What is the error message that you are seeing? And where are you finding this example? This is not a built-in MATLAB function.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!