Hi, Please I need help solving and plotting this regression in matrix form using Matlab. Thanks a lot

댓글 수: 1

Abraham Kaz
Abraham Kaz 2018년 2월 25일
I understand how to set it up in a matrix form on paper but I'm new to Matlab and I have to use Matlab to compute it. Thanks

댓글을 달려면 로그인하십시오.

답변 (1개)

Matt J
Matt J 2018년 2월 25일

0 개 추천

v=A\z

댓글 수: 5

Abraham Kaz
Abraham Kaz 2018년 2월 25일
This is a least square fit problem. I know V = (A*T*A)^-1 A*T*Z. I need help with doing this on Matlab. You wrote V = A/Z. That does not do anything sir
Matt J
Matt J 2018년 2월 25일
No, I wrote v=A\z. It will do exactly what you request.
Abraham Kaz
Abraham Kaz 2018년 2월 25일
편집: Abraham Kaz 2018년 2월 25일
How do I do that in Matlab. Could you please provide more details. Thanks
Star Strider
Star Strider 2018년 2월 25일
mldivide,\ (link)
Matt J
Matt J 2018년 2월 25일
At the command prompt, simply enter v=A\z

댓글을 달려면 로그인하십시오.

질문:

2018년 2월 25일

댓글:

2018년 2월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by