統計
MATLAB Answers
2 質問
0 回答
ランク
of 171,134
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
Error using * Inner matrix dimensions must agree
I have unequal matrices, in trying to calculate for j = 1 : n Edj(d, j) = y(j,:) * (VV(s+1:s+m,d) / (x(j,:)* V V(1:s,d))...
約6年 前 | 1 件の回答 | 0
1
回答質問
The variable Edj appears to change size consider preallocating
VV(1:size(temp,1),d)=temp; for j=1:n E(d,j) = y(j,:)*VV(s+1:s+m,d) / (x(j,:)*VV(1:s,d)); end Ecros =sum(Edj)/n End...
約6年 前 | 1 件の回答 | 0
