using 3 sine wave block in simulink

3 ビュー (過去 30 日間)
Pat
Pat 2012 年 11 月 19 日
i have used multiport switch with 3 data ports as sine waves with amplitude 1,2,3 respectively and a constant block with value 1,in scope i get only one sine wave ,how to get three sinewaves in it ,please help,my stop time is 30s

回答 (1 件)

Anthony Poulin
Anthony Poulin 2012 年 11 月 19 日
Hey, Multiport switch let you choose one of the inputs (with its first input). If you put a constant with the value 1 in the first input, the output of the multiport switch must be your first signalwave (the second input of the block).
So it's normal that you see only one sine wave on the scope.
To see the 3 sine wave, use a MUX instead of a Multiport Switch.
  1 件のコメント
Pat
Pat 2012 年 11 月 19 日
Actually poulin i need the graph as given in image in simulink

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by