Help recreating square wave from equation
显示 更早的评论
Hello,
I need help recreating a square wave from the following equation:

Thanks!
采纳的回答
更多回答(1 个)
Sulaymon Eshkabilov
2021-5-24
0 个投票
Hi,
It is a quite straightforward exercise. You can create this signal using a colon operator (:), or [for .. end] or [while .. end] loop. Colon operator is the most efficient one.
Good luck.
1 个评论
Mackenzie Weeks
2021-5-24
编辑:Mackenzie Weeks
2021-5-24
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


