Azzera filtri
Azzera filtri

popup multiplication combinations for mask

39 visualizzazioni (ultimi 30 giorni)
ali kaya
ali kaya il 16 Lug 2024 alle 13:58
Commentato: Aquatris il 17 Lug 2024 alle 11:01
I want to make a mask for different multiplication combinations such as xyz xzy yzx etc.(x y z is a vector) in simulink could you help me?
  3 Commenti
ali kaya
ali kaya il 17 Lug 2024 alle 5:27
parameters of mask , output is a vector.
Aquatris
Aquatris il 17 Lug 2024 alle 11:01
There are a lot of ways to do this and its hard to tell which one would be the best for your application, but here are two:
  • If they are parameters of the mask, you can define another parameter of the mask that defines the order, and write a callback for the new parameter to handle the multiplication order. For instance if the new parameter value is [1 2 3] than it would be xyz, if it is [1 3 2] than it would be xzy etc.
  • if you have the parameters as constant blocks,you can use bus creator and bus selector to arrange their multiplication order where the 3 bus selector/output signals are promoted in the mask to arrange the order

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by