Graficas Matlab

Páginas: 4 (883 palabras) Publicado: 21 de octubre de 2015




















































>> T = 10;
>> N = 10;
>> D = 8;
>> f = 1/T;
>> x = linspace (0, N*D, 10000);
>> y = square (2*pi*f*x, 50);
>> plot (x, y, 'Linewidth', 2),axis([0, 80, -3, 3]);
>> y = 4*square (2*pi*f*x, 50);
>> plot (x, y, 'Linewidth', 2), axis([0, 80, -3, 3]);
>> plot (x, y, 'Linewidth', 2), axis([0, 80, -5, 5]);
>> y = 2*square (2*pi*f*x, 50);
>> plot (x,y, 'Linewidth', 2), axis([0, 80, -5, 5]);
>> y = 2*square (2*pi*f*x, .1);
>> plot (x, y, 'Linewidth', 2), axis([0, 80, -5, 5]);
>> plot (x, y, 'Linewidth', 2), axis([0, 5, -5, 5]);
>> D = .001;
>> y =2*square (2*pi*f*x, 10);
>> plot (x, y, 'Linewidth', 2), axis([0, 5, -5, 5]);
>> y = 2*square (2*pi*f*x, .1);
>> plot (x, y, 'Linewidth', 2), axis([0, 5, -5, 5]);
>> T = .001;
>> plot (x, y,'Linewidth', 2), axis([0, 5, -5, 5]);
>> N = .001;
>> plot (x, y, 'Linewidth', 2), axis([0, 5, -5, 5]);
>> y = 2*square (2*pi*f*x, 10);
>> plot (x, y, 'Linewidth', 2), axis([0, 5, -5, 5]);
>> plot (x, y,'Linewidth', 2), axis([0, 5, -5, 5]);
>> T = 1;
>> plot (x, y, 'Linewidth', 2), axis([0, 5, -5, 5]);
>> T = 1/10;
>> plot (x, y, 'Linewidth', 2), axis([0, 5, -5, 5]);
>> x = linspace (0, 0.020, 200);
>>plot (x, y, 'Linewidth', 2), axis([0, 5, -5, 5]);
??? Error using ==> plot
Vectors must be the same lengths.

>> x = linspace (0, 0.020, 1000);
>> plot (x, y, 'Linewidth', 2), axis([0, 5, -5, 5]);
???Error using ==> plot
Vectors must be the same lengths.

>> x = linspace (0, 0.020, 10000);
>> plot (x, y, 'Linewidth', 2), axis([0, 5, -5, 5]);
>> plot (x, y, 'Linewidth', 2), axis([0, 0.25, -5,5]);
>> plot (x, y, 'Linewidth', 2), axis([0, 0.025, -5, 5]);
>> plot (x, y, 'Linewidth', 2), axis([0, 0.002, -5, 5]);
>> plot (x, y, 'Linewidth', 2), axis([0, 0.02, -5, 5]);
>> plot (x, y, 'Linewidth',2),
>> plot (x, y, 'Linewidth', 2),
>> ylim([-2, 2]);
>> ylim([-3, 3]);
>> x = linspace (0, 0.010, 10000);
>> plot (x, y, 'Linewidth', 2),
>> ylim([-3, 3]);
>> whitebg('black');
>> grid on
>>...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Graficas MATLAB
  • Graficas En Matlab
  • Gráficas en MATLAB
  • graficos matlab
  • Graficando En Matlab
  • Graficos MatLab
  • Graficas Y Curve Fitting En Matlab
  • MatLab funciones para graficar

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS