Comparativa Entre Enfpoqque Matricial De Matlab Vs Enfoque De Objetos De Otros Lenguajes De Programación.docx

  • Uploaded by: PepePepe
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Comparativa Entre Enfpoqque Matricial De Matlab Vs Enfoque De Objetos De Otros Lenguajes De Programación.docx as PDF for free.

More details

  • Words: 94
  • Pages: 2
COMPARATIVA ENTRE ENFPOQQUE MATRICIAL DE MATLAB VS ENFOQUE DE OBJETOS DE OTROS LENGUAJES DE PROGRAMACIÓN.

>> f=figure(1); >> set(f,'color',[1 1 1]) >> subplot(3,2,1), plot(s,'k','linewidth',1.5) >> B=[1 0 0 0 0 0 -2 0 0 0 0 0 1]; >> A=[1 -2 1]; >> s1=filter(B,A,s); >> figure(1),subplot(3,2,2),plot(s1,'k','linewidth',1.5) >> B=zeros(1,33); >> B(1)=1; B(33)=-1; >> A=[1 -1]; >> C=zeros(1,17); C(17)=1; >> s2=filter(C,1,s1)-filter(B,A,s1)/32; >> subplot(3,2,3),plot(s2,'k','linewidth',1.5) >> B=[0.2 0.1 0 -0.1 -0.2]; >> s3=filter(B,A,s2); >> subplot(3,2,4),plot(s3,'k','linewidth',1.5) >> N=30;delay=30; >> B=ones(1,N)/N; >> s4=s3.^2; >> s4=filter(B,1,s4); >> subplot(3,2,5),plot(s4,'k','linewidth',1.5) >> det=s4>(0.125*(max(s4)/2)); >> det(1:delay)=[]; >> subplot(3,2,6), plot(s,'k','linewidth',1.5) >> subplot(3,2,6), hold on,plot(max(s)*det,'k:') >> plot(s,'k','linewidth',1.5)

Related Documents


More Documents from ""

December 2019 7
Pruebnaila.docx
December 2019 5
Fiis Costos.docx
December 2019 8
Culturas -alas Peruanas.docx
December 2019 10