ESCUELA SUPERIOR DE INGENIERIA MECANICA Y ELECTRICA
4cv6 DISPOSITIVOS
9/09/13 Pgina 1
IV Desarrollo
En la practica aprendimos a manejar lo que es el programa del MathLab. En el cual se programo y se grafico diferentes fuciones de seales como: Senosoidales Cosenosoidales Exponenciales Triangulares Rectangulares Y entre ellas se observaron las diferencias de cada seal en su trayectoria y forma.
Programa de una funcin senosoidal
t=0:(2*pi)/100:2*pi; y=sin(t); plot(t,y) title(grafica del seno de t) xlabel(tiempo) ylabel(f(t)) grid
INSTITUTO POLITCNICO NACIONAL ESCUELA SUPERIOR DE INGENIERIA MECANICA Y ELECTRICA 4cv6 DISPOSITIVOS
9/09/13 Pgina 2
Programa de una funcin coseno
t=0:(2*pi)/100:2*pi; y=cos(t); plot(t,y) title(grafica del coseno de t) xlabel(tiempo) ylabel(f(t)) grid
Programa de una funcin exponencial compleja
t=0:(2*pi)/100:2*pi; y=exp(i*t) plot(t,real(y),t,imag(t)) title(grafica de una funcin exponencial compleja) xlabel(tiempo) ylabel(f(t)) grid
INSTITUTO POLITCNICO NACIONAL ESCUELA SUPERIOR DE INGENIERIA MECANICA Y ELECTRICA 4cv6 DISPOSITIVOS
9/09/13 Pgina 3
Programa de una funcin trangular t=[0 pi 2*pi]; x=[0 3 0]; plot(t,x) title(grafica de una onda triangular) xlabel(timepo) ylabel(f(t)) grid
INSTITUTO POLITCNICO NACIONAL ESCUELA SUPERIOR DE INGENIERIA MECANICA Y ELECTRICA 4cv6 DISPOSITIVOS
9/09/13 Pgina 4
Programa de una funcin rectangular t=[-6 -6 0 0 6 6]; x=[0 -1 -1 1 1 0]: plot(t,x) title(grafica de una funcin rectangular) xlabel(tiempo) ylabel(f(t)) grid axis([-8 8 -1.2 1.2)]