You can force the signal to 'jump' instantly at the point of discontinuity by using the sign function.
Problem with ramp change in waveforms
2 次查看(过去 30 天)
显示 更早的评论
I am simulating a circuit in Simulink. I also have to use MATLAB function block along with circuit elements. I want the output of myMATLAB function to cahnge instantly between its values but instead when I zoom in the output changes from one value to another in a ramp kind of way. How can I force my signals to change instantly?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!