What is the meaning of any_image(:,w:-1:1) in MATLAB
    4 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Mustafa Uysal
 am 12 Nov. 2019
  
    
    
    
    
    Kommentiert: Stephen23
      
      
 am 12 Nov. 2019
            I have seen this line in a program, but couldn't understand what it means. As far as i know, the first part means 'for all rows' but i didn't understand
 w:-1:1
this part.
0 Kommentare
Akzeptierte Antwort
  Marcel Kreuzberg
      
 am 12 Nov. 2019
        w:-1:1 start with w step -1 till 1  
6:-1:1 -> 6 5 4 3 2 1
1 Kommentar
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!