Plot area is empty
Afficher commentaires plus anciens
When I plot a function for displacement versus angular position it yeilds a plot. When I plot a function for velocity versus angualar position, it yields a blank plot. This may have to do with my raising the sin/cos terms to powers higher than 1 but I am not sure.
Take a look:
clear;clc;
w=1;
a=0:1:48.1;
y=(95./cosd(a))-95;
yv=(95*w*sind(a))/((cosd(a)).^2);
ya=(95*w^2*(2-((cosd(a)).^2)))/((cosd(a)).^3);
plot(a,y,'r',a,yv,'b',a,ya,'g')
title('magnitude vs angular position')
xlabel('angular postition (θ)')
ylabel('y,c,a')
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Line Plots 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!
