How to obtain the absolute difference between elements in a row?
    27 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Grace
 am 17 Aug. 2014
  
    
    
    
    
    Bearbeitet: Guillaume
      
      
 am 17 Aug. 2014
            Hi I have
 a=  4     3     2     1
     4     3     1     2
     4     2     3     1
I want to know the absolute difference between elements for each of the rows which gives me
 b= 1 1 1
    1 2 1 
    2 1 2
How am I going to do this? Thank you.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Operators and Elementary Operations finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!