photo

Manisha Aryal


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
125,692
of 300,799

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,092

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 171,134

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

Question


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...

5 years ago | 1 answer | 0

1

answer

Question


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...

5 years ago | 1 answer | 0

1

answer