How to get x-y coord. from x-z coord. and y-z coord.?

  • Thread starter Thread starter Okinawa Rikenata
  • Start date Start date
  • Tags Tags
    Coordinate Matlab
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views
Okinawa Rikenata
Messages
2
Reaction score
1
I have data from tiltmeter. It has 3 components (time, x, and y) and stations. I use Matlab for calculating the data (.csv) until i get some plots. I have two plots, time-x and time-y. Each plot has a trendline. So that means i have two trendlines in two plots. Assume that time is z and x is still x and y is still y (cartesian coordinate). Then i have plot x-z and y-z. I'm confused about how i can get x-y coordinate by removing that z component and calculate it in Matlab? What's the theory i can read about that problem? Thankyou.
 
Physics news on Phys.org
This is called parametric plot, Matlab should have functions for it.
There are two approaches to plot this:
- pick a value of z, plot the data point (x,y).
- pick a value of x, find the corresponding z, find the corresponding y, plot (x,y)

The first one always works, the second one only if the functions are sufficiently well-behaved (in particular, the found z has to be unique).
 
  • Like
Likes   Reactions: Okinawa Rikenata
mfb said:
This is called parametric plot, Matlab should have functions for it.
There are two approaches to plot this:
- pick a value of z, plot the data point (x,y).
- pick a value of x, find the corresponding z, find the corresponding y, plot (x,y)

The first one always works, the second one only if the functions are sufficiently well-behaved (in particular, the found z has to be unique).

Thankyou so much!