Matlab
EJERCICIO 01
1. clear
2. clc
3. disp. ('programa para calcular graficas')
4. disp('ingrasar datos')
5. syms t
6. t= 0:0.0001:0.025;
7. i1=115.*exp(-200.*t)
8. i2= 110.*exp(-300.*t)
9. iT= i1-i2
10. plot (t,i1,t,i2,t,iT)
11. grid on
12. xlabel ('datos de tiempo')
13. ylabel ('datos de la función')14. title ('grafica de una función')
15. legend ('datos')
EJERCICIO 02
1. clear
2. clc
3. disp. ('programa para calcular graficas')
4. disp.('ingrasar datos')
5. syms t
6. t= 0:0.005:0.20;
7. i1= -38.*exp(-200.*t)
8. i2= 42.*exp(-300.*t)
9. i3= 20.*cos(10000.*t-87.15.*pi./180)
10. iT= i1+i2+i3
11.plot (t,i1,t,i2,t,i3,t,iT)
12. grid on
13. xlabel ('datos de tiempo')
14. ylabel ('datos de la funcion')
15. title ('grafica de una funcion')
16. legend ('datos')EJERCICIO 03
1. clear
2. clc
3. disp('programa para calcular graficas')
4. disp('ingrasar datos')
5. syms t
6. t= 0:0.01:1;
7. v1=(291./6).*exp(-4.*t)
8. v2= -(261./6).*exp(-16.*t)
9. vT= v1+v2
10. plot (t,v1,t,v2,t,vT)
11. grid on
12. xlabel ('datos de tiempo')
13. ylabel ('datos de la funcion')14. title ('grafica de una funcion')
15. legend ('datos')
EJERCICIO 04
1. clear
2. clc
3. disp('programa para calcular graficas')
4.disp('ingrasar datos')
5. syms t
6. t= 0:0.001:0.03;
7. Vc1= 22.*exp(-300.*t)
8. Vc2= -34.5.*exp(-200.*t)
9. Vc3= 15;...
10. Vct= Vc1+Vc2+Vc3
11. plot(t,Vc1,t,Vc2,t,Vc3,t,Vct)
12. grid on
13. xlabel ('datos de tiempo')
14. ylabel ('datos de la funcion')
15. title ('grafica de una funcion')
16. legend ('datos')
Regístrate para leer el documento completo.