www.pudn.com > tfarma10.rar > clot.m, change:2003-12-11,size:754b


function clot(x)
% function clot(x)
%   This file is part of the TFPM toolbox v0.9 (c)
%   michael.jachan@tuwien.ac.at and underlies the GPL.
% 
% Plots the cplx-valued signal x in real/imag and mag/arg. 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if(0)% TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
N= 64;
x= randn(N, 1)+j*randn(N, 1);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
end;% TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

clf;
subplot(4, 1, 1);plot( real(x))
subplot(4, 1, 2);plot( imag(x))
subplot(4, 1, 3);plot(  abs(x))
subplot(4, 1, 4);plot(angle(x))