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!