i have the problem with mean function
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
i got the problem with mean function, want to generate this formula e(i)=mean(c'*X(:,i))^2 but it doesnt work. what should i add to run the programe? thx
2 件のコメント
the cyclist
2013 年 12 月 7 日
What are the sizes of X, c and e?
size(X)
size(c)
size(e)
What do you mean by "doesn't work"? If you get an error message, please give the full text of the error message?
Wayne King
2013 年 12 月 7 日
It's important to include the error message or specify what you mean by "doesn't work". Because you don't give us your variables c or X, or tell us what you are trying to do, how can we possibly guess?
回答 (1 件)
Roger Stafford
2013 年 12 月 7 日
0 投票
If the number of rows in c and X are not the same, matlab will complain.
0 件のコメント
この質問は閉じられています。
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!