Community Profile

photo

wong wei kher


NTU

Active since 2014

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


getting maximum value of each row of a matrix that has integers elements and INF
suppose mat = 2 9 11 Inf 1 2 Inf Inf how do i get the maximum of each row such that it is...

9 years ago | 1 answer | 0

1

answer

Question


getting Subscripted assignment dimension mismatch.
my codes are as follow : when i use this , the loop works for i=1:3 vec=(1+i):(2+i); mat(i,:)=vec; vec...

9 years ago | 1 answer | 0

1

answer