How to export figure or contour values into excel file

4 visualizaciones (últimos 30 días)
Tugrul KOK
Tugrul KOK el 23 de Sept. de 2021
Respondida: Sulaymon Eshkabilov el 24 de Sept. de 2021
Hello, I am trying to extract data from a figure, however, I am not able to this. I copied this function: https://gist.github.com/traeblain/1119139
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,

Respuestas (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 24 de Sept. de 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(): https://www.mathworks.com/help/matlab/ref/fplot.html

Community Treasure Hunt

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

Start Hunting!

Translated by