Using delay seq to shift data with different delay conditions
Mostrar comentarios más antiguos
Hi! I have a matrix that has 10 columns and 50 rows. I want to introduce a delay in columns 2,3 and 4, and then again in columns 7,8,9 and 10. In column 2, I want a delay by one sample, in column 3 I want a delay by 2 samples, in column 4 I want a delay of 3 samples, and similarly in columns 7,8,9 and 10 I want delays of 4,5,6 and 7 samples. Is there a way I could use delayseq to automate this process? Thanks in advance!
4 comentarios
Sriram Tadavarty
el 19 de Mzo. de 2020
May i know what does delay mean here? Any small example for the situation.
Zuha Yousuf
el 19 de Mzo. de 2020
Sriram Tadavarty
el 19 de Mzo. de 2020
So, to see if i understand correctly, you want the output to be [2 0 0;5 3 0;8 6 4;0 9 7;0 0 10], for the input matrix you placed. Am i right?
Zuha Yousuf
el 19 de Mzo. de 2020
Respuesta aceptada
Más respuestas (1)
Zuha Yousuf
el 19 de Mzo. de 2020
0 votos
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
