Filter löschen
Filter löschen

How to extract values from plot?

1 Ansicht (letzte 30 Tage)
Lu Da Silva
Lu Da Silva am 1 Mär. 2021
Kommentiert: dpb am 1 Mär. 2021
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

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by