フィルターのクリア

Different results by changing the position of some variables

1 回表示 (過去 30 日間)
Alex Lee
Alex Lee 2018 年 2 月 19 日
回答済み: Alex Lee 2018 年 2 月 19 日
Hi everyone,
I am just confused when I change the results of some variable, I get the different results. All parameters below are real. So actually I should get the same results.
First Running: (f1+f2+f3)*(results(1)*results(1))+(f4+f5+f6)*results(1)+(f7+f8+f9-1)
ans =
0
Second Running: (f1*(results(1)*results(1))+f4*results(1)+f7)+(f2*(results(1)*results(1))+f5*results(1)+f8)+(f3*(results(1)*results(1))+f6*results(1)+f9)-1
ans =
-0.3128
I really appreciate if someone can answer my question!
Best regards

回答 (1 件)

Alex Lee
Alex Lee 2018 年 2 月 19 日
actually I have just decompose the equation, I get the different results

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by