matrix creation simulink block

1 visualizzazione (ultimi 30 giorni)
Danilo NASCIMENTO
Danilo NASCIMENTO il 20 Nov 2013
Commentato: Azzi Abdelmalek il 21 Nov 2013
I have a signal and its time correspondent. Is there a way of putting this signal inside a matrix in simulink so I can use it for an other application? I was trying to use a lookup table, but I don't know whether this is the way.

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 20 Nov 2013
Modificato: Azzi Abdelmalek il 20 Nov 2013
t=0:100 % time vector
y=sin(t) % your signal
ty=[t' y']
Use a from workspace block and set its parameter to ty
  8 Commenti
Danilo NASCIMENTO
Danilo NASCIMENTO il 21 Nov 2013
No. I already have these vectors generated by an other application. And I want to use them to generate this signal in simulink. But these signal vectors are not from simulink.
Azzi Abdelmalek
Azzi Abdelmalek il 21 Nov 2013
Then explain clearly what those application are, or how your vectors are stored.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by