Assigning parameters in simulink using script

2 visualizzazioni (ultimi 30 giorni)
Jiajun Tian
Jiajun Tian il 31 Ott 2020
Risposto: Rhea Chandy il 3 Dic 2020
Hi,
I got a 13 by 13 martix and I want to assign them into a simulink block accordingly, like
and I want to assign them into a simulink block accordingly like the next in the row wll be h(1,2), like
Thanks for any help.

Risposte (1)

Rhea Chandy
Rhea Chandy il 3 Dic 2020
I understand that you want to assign a 13x13 matrix to a simulink block. The simulink Gain Block multiplies the input by a constant value (gain). where the gain can be a matrix.
If you wish to mulitply the input by each element of the matrix individually, you can specify the multiplication mode using Multiplication parameter in Block Parameters.

Categorie

Scopri di più su Block Libraries in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by