函数为一阶有6项si​n函数求和,希望通过​因变量求自变量。

本人在通过cftool进行数据拟合后,得到了一条由6项sin()求和的图像。在通过.m文件尝试由因变量求自变量时,发现无法求出。因为因变量——自变量的拟合比较完美了,,发现自己不会反推自变量,特来求解
目的:能输出x的解就行,不强求解析解。(可以仅保留2-3位小数最好)
函数:
y=229.2*sin(0.6422*x+2.089)+...
214.3*sin(1.402*x-1.148)+...
141.1*sin(1.706*x+11.81)+...
7.877*sin(4.735*x+8.431)+...
0.483*sin(74*x+3.835)+...
8.387*sin(8.404*x-10.94)

 Accepted Answer

kwkmbn
kwkmbn on 22 May 2023

0 votes

使用fzero函数试试

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Asked:

on 22 May 2023

Answered:

on 22 May 2023

Community Treasure Hunt

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

Start Hunting!