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