Effacer les filtres
Effacer les filtres

Creation of vector in Simulink with Index and length provided

1 vue (au cours des 30 derniers jours)
Renish Ramegowda
Renish Ramegowda le 22 Sep 2014
If I have a Index = 8 and Length = 3, then I need to create a vector in simulink model as [8, 7, 6]. If the change the Length = 4, then the output should be a vector of [8, 7, 6, 5].
Anyone can help me to solve this. I tried "For Iterator Subsystem" and "MATLAB Function" blocks, but could not create this vector

Réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by