Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.67 KB | None | 0 0
  1. pause;
  2. subplot(2,1,1); plot(wx/pi,Wx/max(Wx)); grid; title('PSD of the input time-series');xlabel('unormowana czestotliwosc');ylabel('wartosc');
  3. subplot(2,1,2); plot(wrho/pi,Wrho4/max(Wrho4)); grid; title('Amplitude spectrum of the time-varying Schur coefficient');xlabel('unormowana czestotliwosc');ylabel('wartosc');
  4.  
  5.  
  6. hold on;
  7. for m = 2:nrwsp
  8.     [Wrho4,wrho] = wgmx(rho(:,m));
  9.     plot(wrho/pi,Wrho4/max(Wrho4)); grid on; title('Amplitude spectrum of the time-varying Schur coefficient');xlabel('unormowana czestotliwosc');ylabel('wartosc');
  10. end
  11.  
  12. Legend = cell(nrwsp,1);
  13. for i=1:nrwsp
  14.     Legend{i} = strcat('nrwsp = ',num2str(i));
  15. end
  16. legend(Legend)
  17.  
  18. hold off;
  19. pause;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement