How do I plot y(t) vs x(t) for all t in MATLAB?
Show older comments
There are two functions, x(t) and y(t) that I have as a said of data points, and t which is a vectors of times running from 0 to 30 in 2s intervals (i.e. t = 0:2:30
Both x and y are vectors that correspond to a set of points at each time t - x being the position in the x-direction at time t and y being the position in the t direction at time t.
Therefore, the 3 vectors x y t are all the same length.
So how do I plot y vs x for all t.
Ezplot does not work because I don't have an actual function (e.g. x^2 or e^x), but rather a set of points.
Thanks!!
Accepted Answer
More Answers (1)
David
on 5 Apr 2013
1 vote
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!