As the title shows, I am using "fitlm" in Matlab and it works perfectly fine. When I run the code, the estimated coefficients are written out like:
mdl1 =
Linear regression model:
y ~ 1 + x1
Estimated Coefficients:
Estimate SE tStat pValue
________ _________ ______ ______
(Intercept) 2.1999 0.0043976 500.25 0
x1 591.68 0.31096 1902.8 0
Number of observations: 24800, Error degrees of freedom: 24798
Root Mean Squared Error: 0.693
R-squared: 0.993, Adjusted R-Squared 0.993
F-statistic vs. constant model: 3.62e+06, p-value = 0
How can I save these data to a file or a table?
Thanks