photo

Jacob Muvingi


Last seen: 2 years ago Active since 2020

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
95,733
of 300,553

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
50.0%

VOTES RECEIVED
0

RANK
 of 21,024

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 169,635

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 1

View badges

Feeds

View by

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer