How to extract matrix from fit function or sfit result or Curve Fitting Tool??

4 views (last 30 days)
I used Curve Fitting Tool and FIt Fuction.
===========Fit function===================
[xData, yData, zData] = prepareSurfaceData( xxx, yyy, zzz );
ft = 'nearestinterp';
[fitresult, gof] = fit( [xData, yData], zData, ft, 'Normalize', 'on' );
============Curve Fitting Tool=============
======================================
So my question is as below!
  1. I want to extract the matrix like the picture above.In other words, I want to extract the matrix for zzz.
2. I would also like to extract whether the xxx and yyy coordinates are located in the extracted matrix.

Answers (0)

Categories

Find more on Fit Postprocessing in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!