MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]曲线拟合的问题 (https://www.labfans.com/bbs/showthread.php?t=2701)

心际依然 2008-04-29 10:00

[求助]曲线拟合的问题
 
已知函数x=exp(q/tan(B))*cos(q-qa)+pa*sin(q-qa+B);
y=exp(q/tan(B))*sin(q-qa)-pa*cos(q-qa+B);
其中只有q是变量,且q=[1.3,1.5];B,qa,pa都是常量;
现在要把x,y拟合为以下的函数形式:
x=exp(q/tan(B+tB))*cos(q+tq);
y=exp(q/tan(B+tB))*sin(q+tq);
怎么求出tB和tq呢?
如果用 p = curvefit(‘Fun’p0,xdata,ydata)这个,具体要怎么写.
我的x,y都是隐函数.

心际依然 2008-04-29 10:21

:frown:


所有时间均为北京时间。现在的时间是 12:41

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.