フィルターのクリア

The input value can be represented by the values of a curve?

1 回表示 (過去 30 日間)
jixie zhuangbei
jixie zhuangbei 2015 年 7 月 7 日
編集済み: jixie zhuangbei 2015 年 7 月 7 日
Calculation:z=c.^4+b.^4-c.^2-exp(c+b)-2.*c.*b-b.^2
Here,b=1;
A curve represent the values of c
The values of c versus time
Thus,the values of z can also be represented by a curve?
program: x=[0 25 50 70 80 100]; y=[0 5 7 9 10 11]; a=polyfit(x,y,3); syms X fy=vpa(poly2sym(a,X),4)
x1=min(x):max(x);
h1=polyval(a,x1);
c=fy;b=1;
z=c.^4+b.^4-c.^2-exp(c+b)-2.*c.*b-b.^2
Where is the curve of c?

採用された回答

Andrei Bobrov
Andrei Bobrov 2015 年 7 月 7 日
x = [0 25 50 70 80 100];
y = [0 5 7 9 10 11];
a = polyfit(x,y,3);
c = polyval(a,min(x):max(x));
b = 1;
z = c.^4+b.^4-c.^2-exp(c+b)-2.*c.*b-b.^2;
  1 件のコメント
jixie zhuangbei
jixie zhuangbei 2015 年 7 月 7 日
編集済み: jixie zhuangbei 2015 年 7 月 7 日
Thank you! Have you run the program before ?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFit Postprocessing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by