Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Curve fitting of rectangular and column vector

1 回表示 (過去 30 日間)
deep
deep 2015 年 4 月 7 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi, I have to do a curve fitting using cftool since the code i developed given below
v=xlsread('Coupled_shal.xlsx','Velrot')
y=xlsread('Coupled_shal.xlsx','Y');
n=xlsread('Coupled_shal.xlsx','N');
Ycoupled=lsqlin(v,y)
Ncoupled=lsqlin(v,n)
does not produce any output and crashes with error due to lack of some tool license. Can anyone throw some lights as to how can i do the same without optimization tool at hand. *Velrot is 12 by 6 matrix Y,N are 12 by 1 matrix

回答 (1 件)

Matt J
Matt J 2015 年 4 月 7 日
Since you have no apparent constraints, you should be able to just do
Ycoupled=v\y
Ncoupled=v\n
  1 件のコメント
deep
deep 2015 年 4 月 8 日
Thank you :)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by