Write a script that will first initialize a string variable that will store x and y coordinates of a point in the form ‘x 3.1 y 6.4’. Then, use string manipulating functions to extract the coordinates and plot the point.
1 次查看(过去 30 天)
显示 更早的评论
confused on 'string manipulating functions"
1 个评论
Walter Roberson
2014-3-18
What is the difference between this question and your earlier question http://www.mathworks.co.uk/matlabcentral/answers/121956-two-variables-store-strings-that-consist-of-a-letter-of-the-alphabet-a-blank-space-and-a-number ?
回答(2 个)
John D'Errico
2014-3-17
Why is "plot" a tag here? Your question has nothing to do with that.
help strfun
Start there. Look at the functions in that set, and see which ones may help you. But really, START WRITING. Make an effort. Try something, as there are at least 3 different ways I can think of to do this.
Play. Get your hands dirty. So far, it looks like you just gave up.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!