Simulink: select element from a vector in relation with the current time
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I'm new to Simulink I have a long vector and I want to select one single element for every time (sampled every five seconds).
For example if I have a vector V = [100 2 192 18 5 ...] I want to select at times t=1, t=2, t=3, t=4, t=5 the element V[1] = 100, at time t=6, t=7, 7=8, t=9, t=10 the element V[6] = 2, and so on.
Is there a block or a set of block to do so? And what options should I use?
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Sources in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!