Sinewave plot technique confirmation
Afficher commentaires plus anciens
For my assignment I have to plot a graph for a sine wave the question is as follows, "t is 0 and 2π radians. y=5sin(2t+pi/6)" Now I input this in to matlab what i have got so far is; A = amplitude , F = frequency , P = phase , T = time A= 5 F=2 P= pi/6 T = 0:0.1"2*pi Y= A*sin(F*T+P) Then I plotted (T,Y) Can you confirm if i have done this in the correct way, if so I now need to smooth the wave is this possible in matlab if yes how do i do this? (I have attached the graphs, I have zoomed one to display )
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Spline Postprocessing dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!