Simulinkでベクトル信号の要素を昇順、降順で並び替えるにはどうすればよいですか?
Afficher commentaires plus anciens
Simulinkでベクトルの要素の並び替えをしたいです。例えば、[2 4 6 8 10]という信号があって、[10 8 6 4 2]という信号を出力する方法を教えてください。
1 commentaire
Yoshio Watanabe
le 25 Oct 2016
この例でしたら、Selectorブロックのインデックスに[5:-1:1]、入力の端子サイズは5と入力してみてください。
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Get Started with DSP System Toolbox 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!
