Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
how to get the detailed values from a linear model class?
Replies:
2
Last Post:
Mar 6, 2013 1:26 PM



James
Posts:
77
Registered:
10/24/05


how to get the detailed values from a linear model class?
Posted:
Mar 5, 2013 4:00 PM


I am using the example on the mathworks website:
http://www.mathworks.com/help/stats/linearmodel.disp.html
X = randn(100,5); y = X*[1;2;3;4;5] + 6 + randn(100,1); mdl = LinearModel.fit(X,y);
one silly question is that how to get the values of those model details from mdl? I can easily see them, but not sure how to output them or assign to a variable in matlab.
Thanks,
James



