matrix creation simulink block

1 次查看(过去 30 天)
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.

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-11-20
编辑:Azzi Abdelmalek 2013-11-20
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 个评论
Danilo NASCIMENTO
Danilo NASCIMENTO 2013-11-21
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 2013-11-21
Then explain clearly what those application are, or how your vectors are stored.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by