Drawing a periodic function
조회 수: 2 (최근 30일)
이전 댓글 표시
This code takes two input functions with their periods from the user and plot them. i was asking if i got the total function for the two which is(y)...how can i plot 3 cycles of (y) assuming that it's a periodic function?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158738/image.png)
댓글 수: 1
Karan Gill
2016년 12월 8일
Why are you declaring "t" to be symbolic and then giving it a numeric value? Also, you need to look up the theory for how to calculate the period when combining two functions.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!