why my constant scope value is circle?

43 views (last 30 days)
seungpyo kang
seungpyo kang on 17 Jun 2021
Answered: Cris LaPierre on 17 Jun 2021

Answers (1)

Cris LaPierre
Cris LaPierre on 17 Jun 2021
Look at your sampling time of your constant. By default, it is inf. This means it is sampled once at 0, and never again.
Change your sample time to what you want it to be to get a line.
However, this may not be necessary. A constant is just that, constant. If you add a time-dependent signal (sine wave, step) to the second port of your scope and do not change your constant sample time, you will see the constant value is present every time the time-varying signal is sampled.

Tags

Community Treasure Hunt

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

Start Hunting!