Commit 1c5216f2876aa5f3622bf7bbdc7b360ad7013cec

Authored by Yujen Ku
1 parent e24d9d7ce6
Exists in master

add credit

Showing 1 changed file with 8 additions and 1 deletions Inline Diff

1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % Project code file for ECE 257B SP2018 %
3 % Author: Yu-Jen Ku, Xueshi Hou %
4 % Department of Electrical and Computer Engineering, %
5 % University in San Diego, California, USA %
6 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
function ploti(Target,k) 1 8 function ploti(Target,k)
X = 1:size(Target,2); 2 9 X = 1:size(Target,2);
num_t = size(Target,1); 3 10 num_t = size(Target,1);
figure(10*k) 4 11 figure(10*k)
hold; 5 12 hold;
for i = 1:num_t 6 13 for i = 1:num_t
plot(X,abs(Target(i,:))); 7 14 plot(X,abs(Target(i,:)));
end 8 15 end
9 16
figure(10*k+1) 10 17 figure(10*k+1)
hold; 11 18 hold;
for i = 1:num_t 12 19 for i = 1:num_t
plot(X,angle(Target(i,:))); 13 20 plot(X,angle(Target(i,:)));
end 14 21 end