Effacer les filtres
Effacer les filtres

Is LinearModel.fit available in Matlab 2010a

2 vues (au cours des 30 derniers jours)
Luc
Luc le 29 Juil 2013
I'm trying to use LinearModel.fit but it does not look like Matlab can find it, although I have the Statistical Toolbox:
EDU>> license('test','statistics_toolbox')
ans =
1
Here's what I'm getting:
EDU>> load BCCdata EDU>> x=WS_rm; EDU>> y=Net_ch4; EDU>> mdl = LinearModel.fit(x, y) ??? Undefined variable "LinearModel" or class "LinearModel.fit".
Any idea? Am I doing something wrong or is this not available for 2010a?

Réponse acceptée

the cyclist
the cyclist le 29 Juil 2013
I think the LinearModel class is more recent than that version. I did some poking around in the documentation archives: http://www.mathworks.com/help/doc-archives.html, and I think it was introduced in R2012a.

Plus de réponses (0)

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by