Drawing a periodic function

5 vues (au cours des 30 derniers jours)
Mohamed ahmed
Mohamed ahmed le 6 Déc 2016
Commenté : Karan Gill le 8 Déc 2016
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?
  1 commentaire
Karan Gill
Karan Gill le 8 Déc 2016
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by