Drawing a periodic function
1 回表示 (過去 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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!