photo

Manisha Aryal


Last seen: 2 years 前 自 2020 起处于活动状态

Followers: 0   Following: 0

统计学

Feeds

排序方式:

提问


How to store the indexes of the values which satisfies the given condition while running a loop. The condition is satisfied many times but at the end only i only get the index of last condition when value was satisfied.
function indices=Saddle(M) [a,b]=size(M); P=max(M,[],2); Q=min(M); for i=1:a for j =1:b if P(i,1)==Q(1,j)%my c...

4 years 前 | 1 个回答 | 0

1

个回答

提问


How can I store values that satisfies only the specific condition from the loop without overwrriting?
Basically, I am trying to write code for this problem. Write a function called saddle that finds saddle points in the input mat...

4 years 前 | 1 个回答 | 0

1

个回答