Quantcast
Viewing all articles
Browse latest Browse all 5351

mathscript Note :unexpected char: '@'

I was trying to use the mathscript to fit nonlinear curve with the function ‘lsqcurvefit’,and one error occured:unexpected char: '@'.

 

some code in the mathscript note is shown as following: out = lsqcurvefit(@TransferFunc,   [amplitudeGuess * frequencyGuess ^ 2, frequencyGuess], f, psd', [], [], fitOptions) ;

’TransferFunc‘ is the definition of the expression of the curve to be fitted.

 

Any help would very appreciated.

 

 


Viewing all articles
Browse latest Browse all 5351

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>