Using delay seq to shift data with different delay conditions
Afficher commentaires plus anciens
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 commentaires
Sriram Tadavarty
le 19 Mar 2020
May i know what does delay mean here? Any small example for the situation.
Zuha Yousuf
le 19 Mar 2020
Sriram Tadavarty
le 19 Mar 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
le 19 Mar 2020
Réponse acceptée
Plus de réponses (1)
Zuha Yousuf
le 19 Mar 2020
0 votes
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
