![]() |
求助,含积分的非线性拟合问题
∫x^m*cosxdx=N,从0至w积分
已知w=[pi/2,pi,pi*1.5],N=[pi/2-1,-2,-1.5*pi-1] ,求m值。 请各位高人指教用什么matlab函数?如果能给出具体计算程序,将不胜感激! |
回复: 求助,含积分的非线性拟合问题
试试这个程序:
syms m x w=[pi/2,pi,pi*3/2]; N=[pi/2-1,-2,-1.5*pi-1]; for i=1:length(w) f=int(x^m*cos(x),x,0,w(i)); ff(i)=solve(f-N(i)); end ff=double(ff); 望有帮助!!! |
所有时间均为北京时间。现在的时间是 04:02。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.