Statistics
                        MATLAB Answers
                        
                    0 Questions
                        1 Answer
RANK
1,531
                          
                          
of 300,381
                        
REPUTATION
46
                           
                        
CONTRIBUTIONS
                          0 Questions
                          1 Answer
ANSWER ACCEPTANCE 
                            0.00%
                        
VOTES RECEIVED
22
RANK
 of 20,941
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS 
0
ALL TIME DOWNLOADS
0
RANK
of 168,477
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
Feeds
Answered
How to replace the elements of a matrix using the conditions if,else?
Hi, Actually, there is a very simple way to do it: X=rand(10,10); X(X>0.5) = [-1]; Hope it is helpful.
    
  
How to replace the elements of a matrix using the conditions if,else?
Hi, Actually, there is a very simple way to do it: X=rand(10,10); X(X>0.5) = [-1]; Hope it is helpful.
12 years ago | 22
