hello there,
i want to ask how to x,y ,z as it shown the photo?

 Accepted Answer

Star Strider
Star Strider on 16 Apr 2020

0 votes

Use the plot function.
.

7 Comments

I have tried to use plot3(Actual distance,error,RF,'o') but it turns to 3d and i need sth look like the photo
Try this:
plot(Actualdistance,error,'o', Actualdistance,RF,'p')
That should plot ‘error’ and ‘RF’ as functions of ‘Actualdistance’.
.
thanks for your reply but it didnt work out do have a nother suggestion?
i meant it work out partially
Star Strider
Star Strider on 16 Apr 2020
It looks as though it worked correctly.
Is there a problem?
.
yes you right thanks so much.
Star Strider
Star Strider on 17 Apr 2020
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots 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!