mnrfit function gives 1 column less
1 次查看(过去 30 天)
显示 更早的评论
i am using the mnrfit function and it is giving me a column less.
For eg matrix A is 1x300 and matrix B is 300x50. when i use
mnrfit(A,B) it gives me a 49*2 matrix
0 个评论
回答(1 个)
the cyclist
2014-4-14
Have you read and understood the mnrfit documentation? In particular, the first example explains the layout of the output.
Given that A is 1x300, I am guessing that that is your response variable, and B is your matrix of explanatory variables. If that is the case, then you entered them in the wrong order in the arguments to mnrfit.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 COM Component Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!