Circshift not working for values of zero.
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Giuseppe
      
 el 26 de Mzo. de 2014
  
    
    
    
    
    Respondida: Azzi Abdelmalek
      
      
 el 26 de Mzo. de 2014
            I have;
x = [0 0 3 3]
I want this to become
x = [0 3 3 0]
When I circshift
x_2 = circshift(x,2)
it equalls [0 0 3 3].
Am I doing the right circshift? NOTE I want it reordered with the second element first keeping the sequence.
0 comentarios
Respuesta aceptada
Más respuestas (1)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


