필터 지우기
필터 지우기

Blocks in series, Simulink

조회 수: 2 (최근 30일)
Maria Angela Agizza
Maria Angela Agizza 2016년 12월 27일
답변: Andreas Goser 2016년 12월 28일
Hello Matlab and Simulink users.
I would like to calculate the number of Transfer Function blocks that better approximate a Transport Delay block.
Of course, I don't want to manually draw all the blocks and try them.
Is there a way to set the number of blocks in series?
Thanks in advance and best regards,
Maria Angela

채택된 답변

Andreas Goser
Andreas Goser 2016년 12월 28일
Also I do not know the science behind what you want to do, but can image you want to try MATLAB commands like "add_block", "add_line" etc. to create a Simulink model by MATLAB code.

추가 답변 (1개)

Gabriel Delcros
Gabriel Delcros 2016년 12월 27일
Hello, I don't know if I really understand your problem but there is a block named transport delay able to put the delay you want on your signal. Just put -1 on sampling time to pick the one of your simulation and then you can't choose how much time you want to delay your signal ;)
  댓글 수: 2
Maria Angela Agizza
Maria Angela Agizza 2016년 12월 27일
Hello and thanks for your answer.
I know the Transport delay block, but usually a delay can be approximated with a certain number of Transfer Function blocks.
I need to know how many Transfer Function blocks in series do I need to approximate my delay. Of course, I don't want to manually draw all of them after another and check if the approximation is ok and aventually add another one etc, so I was looking for another way to put blocks in series, but I could not find a solution.
Gabriel Delcros
Gabriel Delcros 2016년 12월 28일
Put a variable in input instead of a value? Then load a file with this value.
So then you can compute your latencies.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by