How to create a model using the mdl=LinearModel.fit(X,y)

조회 수: 1 (최근 30일)
Chimezie Umezie
Chimezie Umezie 2012년 10월 8일
I want to use the mdl=LinearModel.fit(X,y) to create a linear Model in Matlab 2011a but I am getting the following error message:
??? Undefined variable "LinearModel" or class "LinearModel.fit".
I have been told that the code can be used in Matlab 2011a however another contributor said the code can only be used for Matlab 2012a.
Thank you

채택된 답변

Walter Roberson
Walter Roberson 2012년 10월 8일
Points to the exact release notes that confirm that this was new in R2012a

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by