how can i create discrete square wave with simulink

조회 수: 6 (최근 30일)
david chuang
david chuang 2020년 4월 14일
댓글: Nikita Joshi 2022년 1월 8일
i use the singal generator and zero order hold but it cant work
thanks a lot!!

답변 (1개)

Guru Mohanty
Guru Mohanty 2020년 4월 17일
I understand you are trying to create a discrete square wave using Simulink. It can be done using Signal Generator and Zero Order Hold block.
You Can Visualize discrete signal by Scope Block with some changed Settings.
Scope >> View >> Style >> Line >> No Line
>> Marker >> ‘o’
I have attached a sample model.
  댓글 수: 1
Nikita Joshi
Nikita Joshi 2022년 1월 8일
Whether you use zero-hold block or not. But by this step "Scope >> View >> Style >> Line >> No Line>> Marker >> ‘o’" you will directly get the discrete sampled signals.
So, meanwhile signal generator with sqaurewave creates the discrete signal.

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

카테고리

Help CenterFile Exchange에서 Signal Generation에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by