How to extract values from plot?

I created two plots using the fnplt function. One plot represents the chord length (c) over the radial position, the other the thickness (t) over the radial position (-> they both have the same x-axis).
I need to calculate the spar height h = c*t and plot h against the radial position.
How can I extract the c and t values at specific x-axis values (e.g. x=10, x=20, x=30)? Or perhaps an interpolation would make more sense in order to get a smoother graph?
Thanks in advance!

3 Kommentare

Lu Da Silva
Lu Da Silva am 1 Mär. 2021
That doesn't answer my question.... I'd like to have the y-values for specific x-values.
dpb
dpb am 1 Mär. 2021
interp1

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Tags

Gefragt:

am 1 Mär. 2021

Kommentiert:

dpb
am 1 Mär. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by