converting all array elements into positive elements
    25 views (last 30 days)
  
       Show older comments
    
    Mohammed Qahosh
 on 15 Jun 2019
  
    
    
    
    
    Commented: Mohammed Qahosh
 on 16 Jun 2019
            I have an aray like this:
A=[1 -3 -1 4]
I would like to have the same elemnt but with all elements have been converted to positive 
Then,
A=[1 3 1 4]
Any suggestions? Thank you in advance.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
				Find more on Data Type Conversion in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
