obtain parameter from Curve Fitting toolbox

7 Ansichten (letzte 30 Tage)
audley james
audley james am 6 Okt. 2013
Bearbeitet: Matt J am 10 Okt. 2013
Hi,
I just bought the Curve Fitting toolbox. I am using the tpaps function :
It contains 'R(f)', a roughness measure (as shown in the link above). Can you guys tell me how to output the value of this measure.
regards.
  2 Kommentare
David Sanchez
David Sanchez am 9 Okt. 2013
Do you mean to send its value to the workspace?
audley james
audley james am 10 Okt. 2013
yes my friend

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Matt J
Matt J am 10 Okt. 2013
Bearbeitet: Matt J am 10 Okt. 2013
I think the best you're going to be able to do is a numerical approximation. Something like
D1D1=@(z) diff(z,2,1);
D2D2=@(z) diff(z,2,2);
D1D2=@(z) diff(diff(z,1,1),2,1);
sqIntegral=@(z) norm(z,'fro').^2;
f=fnvals(tpaps(...),fineGrid);
Rf = sqIntegral(D1D1(f)) + sqIntegral(D1D2(f)) +sqIntegral(D2D2(f));

Kategorien

Mehr zu Curve Fitting Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by