Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Curve fitting of rectangular and column vector

1 Ansicht (letzte 30 Tage)
deep
deep am 7 Apr. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (1)

Matt J
Matt J am 7 Apr. 2015
Since you have no apparent constraints, you should be able to just do
Ycoupled=v\y
Ncoupled=v\n

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by