HOW TO PLOT THE INTERVAL OF t AND SIN
24 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
plot the function s = 2 sin(3t+2) + √𝟓𝒕 + 𝟏 over the interval 0 ≤ t ≤ 5. Put a title on
the plot, and properly label the axes. The variable s represents speed in feet per second; the variable t
represents time in seconds
1 commentaire
Réponses (2)
Adam Danz
le 15 Fév 2021
Modifié(e) : Adam Danz
le 16 Fév 2021
Here are the tools you'll need. These are basic Matlab 101 tools that you'll use a lot in Matlab.
- Define t using the colon opertator or linspace.
- Put t into your equation; you'll obvsiously need to insert some operators such as 2*sin(.......
- Use plot() to plot s as a function of t
- Use xlabel(), ylabel() to label the axes.
0 commentaires
Hira
le 14 Mar 2023
X=0:t:5; S=2*sin(3*t+2)+sqrt(5*t+1); Plot(X,S),Xlable('X'),Slable('S')
1 commentaire
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!