Fłe Edit Debug Desktop Wndow Help
Q & H © «0 Ci tłS' V Curent Dtrectory |C:V<tATLAB7Wvo»k UJE
Shortcuts >] How to Add >] Whatfs New
Current Directory |
!• X |
B * | |
lAJIFies i- |
| File Typ |
iEXEMPLO.mdl
Model
r omrnand Windo w
Thls is a Cla3sroom License for instructlonal use only. Research and comrnercial use is prohibited.
To get started, select HATLAB Help or Demos from the Help menu.
» s
-Ll
tf Cs1);
To - 24.94;
K = 98; tau - 312;
P = K/(tau*s+l) ;
[7/t] - step(P,1500); plot(t+50,y+To); hołd
% ambient/initial temperaturę DC gam
% tiroe constant % model transfer functlon V model step response
Lommand History
fi X
— 01/11/17 00:26 -
-3 - et es*);
-To = 24.94;
K - 98;
|—tau “ 312;
P - K/(tau*s+l);
[7/e] = step(P,15C plot(t+50,y+To); hołd
plot (temp, 1 r: ' ) xlabel('time (sec) ylabel(* temperatur title('Lightbulb T ^legend (' model ■ , ' ex*
plot(temp,'r:‘) xlabeic tiroe (sec)') ylabel('temperaturę (degrees C) ' ) tltle('Lightbulb Temperaturę Step Response') legend('model','experiment','Location','SouthEost') Current plot held
»
Start
PT S
22:27
31/10/2017 —