Custom Triangle with up/down slopes , help
显示 更早的评论
Hello i want to make a coustom triangle without using the existing function of matlab, which will start lets say at 300 and will end at 518 , reaching his peak at 408 and max amplitude 1. Note that i want each slope (up-slope and down-slope) should be vectors of 256 elements.So my first thought is to compute a vector va of 256 elements, ok i done it with linspace but then i don't know how to continue. Note that it should be 2 vectors one for up-slope(256 elements) and the other down-slope(256 elements) and it should look like this

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