How to export figure or contour values into excel file

1 view (last 30 days)
Tugrul KOK
Tugrul KOK on 23 Sep 2021
Hello, I am trying to extract data from a figure, however, I am not able to this. I copied this function:
I need these values of the figure, I want to create a lookup table from them, I tried to wrote them as an array, and find values, I had trouble all the time. Thank you for your help,

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 24 Sep 2021
The simplest and easiest solution here is to employ fplot instead of ezplot. And from fplot() you can obtain numerical values and then export into MS Excel or .txt file. Here is a nice doc on fplot():

Community Treasure Hunt

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

Start Hunting!