Electromagnetic Power and Torque Plot

I'm trying to plot torque and power based off of my variable slip (S). My slip will run from 0 to 1 with .01 stepsize. Listed below is my code, but when I run the program, the plot comes up empty. Any guidance would be much appreciated.
Pa = 25.08;
Pfwc = 265;
Ws = 188.5;
S = [0:.01:1];
T = (Pa*(1-S)-Pfwc)/((1-S)*Ws);
Plot = (S,T)

Réponses (1)

Ameer Hamza
Ameer Hamza le 11 Avr 2020
Try this
Pa = 25.08;
Pfwc = 265;
Ws = 188.5;
S = 0:.01:1;
T = (Pa*(1-S)-Pfwc)./((1-S)*Ws);
plot(S,T)

Catégories

En savoir plus sur Powertrain Blockset dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by