surface fitting1
Afficher commentaires plus anciens
Hi,
I'd like to ask for help regarding surface fitting and I have very little experience in Matlab.
I have a Z 77x77 matrix.
If I use surf(Z) I can plot it without problem.
I would like to interpolate Z but I couldn't get it right neither with the sftool nor with the gridfit.
If I call sftool I don't even have an option to select this Z matrix. I've read the manuals but it is still unclear how I could do this.
So the question is how to use this interactive sftool if I have a 77x77 large Z matrix [measurement data] and I want to interpolate or somehow fit it.
Thanks, Krivan
Réponse acceptée
Plus de réponses (3)
Rob Graessle
le 3 Juin 2011
To do surface fitting you need to define your X and Y data vectors.
X=1:77; Y=1:77; % Or any other vectors of 77 points
Then you can use SFTOOL by supplying X, Y and Z as the data vectors.
krivan
le 23 Juin 2011
0 votes
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!