How to programe clipping sine wave
Show older comments

TIME =linspace(0,6*pi,200)
SignalVoltage = 7*sin(Time)
Accepted Answer
More Answers (2)
Mbongeni
on 8 Aug 2022
0 votes
how do i use the end function? i have a row by column vector and matlab instructions say that i must use the end command,but it gives me an error when i try it. What can i do to solve this problem?
Munyaradzi
on 28 Apr 2024
Time= linspace(0,6*pi,200)
y= 7*sin(Time)
y(y<-5) = -5
y(y>5) = 5
signalVoltage=y
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!