求助,如何在matl​ab中用最小二乘法求​参数为n维向量的多项​式。

求助大神,如何在matlab中用最小二乘法求形如y=a+XB的拟合多项式(其中B为未知的n维列向量,X为m组已知的n维行向量,y为已知的m组实数,a为未知的实数)求未知的参数a与B

 채택된 답변

新锦江网址【359663.tv】
新锦江网址【359663.tv】 2022년 10월 13일

0 개 추천

调用regress函数
www.mathworks.com/help/stats/regress.html

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 多项式에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!