Trapezoidal like wave function
显示 更早的评论
Hi guys,
I want to create a trapezoidal like function that it will repeat not only for one or two periods but for the duration of the simulation.Also i want to control every value of the basic pulse like the maximum value( in the picture attached its 10000) how quickly it rises to maximum how long it stays at maximum and at zero.I have attached a picture of the main pulse.I have previously used a trigonometric function Fn=((a/pi)*(asin(sin((2*pi/m)*t+l))+acos(cos((2*pi/m)*t+l)))-a/2+c) but i cannot control all the above characteristics and therefore its not representative of what i want to do.

Thanks for the help in advance.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!