필터 지우기
필터 지우기

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.

조회 수: 2 (최근 30일)
confused on 'string manipulating functions"

답변 (2개)

John D'Errico
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.

Image Analyst
Image Analyst 2014년 3월 18일
It's really trivial. Simply use sprintf().

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by