Rank: 76 based on 482 downloads (last 30 days) and 5 files submitted
photo

Won Yang

E-mail
Company/University
Chung-Ang University

Personal Profile:

Ph. D. in EE at USC, 1986
CAU Professor at the dept. of EE since 1986

Professional Interests:
Signal Processing, Communication

 

Watch this Author's files

 

Files Posted by Won View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Feb 2010 PPT slide for Chapter 4 (Nonlinear Equations) of "Applied Numerical Methods Using MATLAB" Chapter 4 (Nonlinear Equations) of "Applied Numerical Methods Using MATLAB" Author: Won Yang matlab, nonlinear equation, newton method 21 0
  • 3.0
3.0 | 1 rating
01 Feb 2010 PPT slide for Chapter 4 of "SIgnals and Systems with MATLAB" by Won Y. Yang et. al Chapter 4 of "SIgnals and Systems with MATLAB" by Won Y. Yang et. al Author: Won Yang signal processing, matlab, ztransform 11 0
01 Feb 2010 PPT slide for Chapter 10 of Circuit System with MATLAB by Won Y. Yang et. al Chapter 10 (Two-Port Networks) of Circuit System with MATLAB by Won Y. Yang et. al Author: Won Yang 2port network, matlab, circuit 8 0
15 Jan 2010 PPT for Chapter 9 of "MATLAB/Simulink for Digital Communication" Chapter 9 of "MATLAB/Simulink for Digital Communication" (authored by Won Y. Yang et al.) Author: Won Yang coding, communication, simulink, matlab 73 8
  • 4.8
4.8 | 5 ratings
11 Sep 2009 Screenshot MATLAB for Digital Communication The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al Author: Won Yang communiation, matlab, signal processing, but there is a proble..., simulink mdl files, i am from iraq 369 95
  • 4.47619
4.5 | 22 ratings
Comments and Ratings by Won View all
Updated File Comments Rating
05 Dec 2011 MATLAB for Digital Communication The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al Author: Won Yang

png is a function saved in an M-file named 'png'. If you had downloaded, it would be automatically run whenever the main program "DS_SS" is run. If you don't have the function, drag and paste the following:
 
function c=png(gm,Kc,x)
%generates an m-sequence from a feedback-shift register if Kc=0
% or from a high-speed feedback shift generator if KC>0
% gm: a generator tap coefficient vector
% or a set of connected tap position numbers
%Copyleft: Won Y. Yang, wyyang53@hanmail.net, CAU for academic use only
if sum(gm>1)>0, g(gm)=1; % say, if gm=[1 2 4 5]
 else g=gm; % if gm=[1 1 0 1 1]
end
m=length(g); % Number of feedback shift-registers
if nargin==2
  if length(Kc)>1, x=Kc; Kc=0; % If x0 is given as 2nd input argument
   else x=[zeros(1,m-1) 1]; % Initial state of the shift register
  end
elseif nargin<2, Kc=0; x=[zeros(1,m-1) 1];
end
x=x(end:-1:1); N=2^m-1;
if Kc==0 % Feedback shift register
  g=fliplr(g); for i=1:N, c(i)=x(1); x=[x(2:m) rem(g*x',2)]; end
 elseif Kc<0
  g=fliplr(g); c=x;
  for i=m+1:N, x=[x(2:m) rem(g*x',2)]; c(i)=x(m); end
 else % High-speed feedback shift generator
  c=x;
  for i=m+1:N, c(i)=x(1); x=[rem(x(2:m)+g(1:m-1)*x(1),2) x(1)]; end
end

14 Jul 2011 MATLAB for Digital Communication The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al Author: Won Yang

I am sorry that I have no MATLAB codes on DAPSK/OQAM. However, if I could help you in composing the MATLAB codes on DAPSK/OQAM and there was any possibility that I can be a coauthor in your research paper, I would consider trying to compose the codes under your guidance
even if I am not so confident of my capability.
Thanks for being my reader.

11 May 2011 MATLAB for Digital Communication The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al Author: Won Yang

The program "LDPC_demo.m" runs well with inv_GF2() as it is. This is your 4th question. I think it is time for you to be a bit polite to my long-time efforts by rating my codes overall this time.

06 May 2011 MATLAB for Digital Communication The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al Author: Won Yang

I see no problem as far as the last line computing the BER is concerned. ber_QPSK_theory = prob_error(SNRbdB,'PSK',K,'BER')

gen_LDPC is what was made not by me:
function H=gen_ldpc(M,N)
%For examples and more details, please refer to the LDPC toolkit tutorial at
%http://arun-10.tripod.com/ldpc/ldpc.htm
bits_per_col=3;
for i=1:M
   row_flag(i)=0; for j=1:N, H(i,j)=0; end
end
%add bits_per_col 1's to each column with the only constraint
% being that the 1's should be placed in distinct rows
for i=1:N
   a=randperm(M);
   for j=1:bits_per_col, H(a(j),i)=1; row_flag(a(j))=row_flag(a(j))+1; end
end
%row_flag
max_ones_per_row=ceil(N*bits_per_col/M);
%H

%add 1's to rows having no 1(a redundant row) or only one 1(that bit in the codeword becomes
%zero irrespective of the input)
for i=1:M
   if row_flag(i)==1
      j=unidrnd(N);
      while H(i,j)==1, j=unidrnd(N); end
      H(i,j)=1; row_flag(i)=row_flag(i)+1;
   end
   if row_flag(i)==0
     for k=1:2
       j=unidrnd(N);
       while H(i,j)==1, j=unidrnd(N); end
       H(i,j)=1; row_flag(i)=row_flag(i)+1;
      end
   end
end

%try to distribute the ones so that the number of ones per row is as uniform as possible
for i=1:M
   j=1; a=randperm(N);
   while row_flag(i)>max_ones_per_row;
      if H(i,a(j))==1
        H(i,a(j))=0; row_flag(i)=row_flag(i)-1; newrow=unidrnd(M);
        k=0;
        while row_flag(newrow)>=max_ones_per_row | H(newrow,a(j))==1
           newrow=unidrnd(M); k=k+1;
           if k>=M, break; end
        end
        if H(newrow,a(j))==0, H(newrow,a(j))=1; row_flag(newrow)=row_flag(newrow)+1;
         else H(i,a(j))=1; row_flag(i)=row_flag(i)+1;
        end
      end%if loop
      j=j+1;
   end%while loop
end%for loop
%row_flag, H
%try to eliminate cycles of length 4 in the factor graph
for loop=1:10
  ones_position(1)=0;
  for r=1:M
    ones_count=0;
    for c=1:N
      if H(r,c)==1
        ones_count=ones_count+1; ones_position(ones_count)=c;
      end
    end
    for i=1:r-1
      common=0;
      for j=1:ones_count
        if H(i,ones_position(j))==1
          common=common+1 ;
          if common==1, thecol=ones_position(j); end
        end
        if common==2
          common=common-1;
          if (round(rand)==0), coltoberearranged=thecol; thecol=ones_position(j);
           else coltoberearranged=ones_position(j);
          end
          H(i,coltoberearranged)=3;
          %make this entry 3 so that we dont use of this entry again while getting rid of other cylces
          newrow=unidrnd(M);
          %while ((newrow==i)|(H(newrow,ones_position(j))==1))
          iteration=0;
          while H(newrow,coltoberearranged)~=0
             newrow=unidrnd(M); iteration=iteration+1;
             if iteration==5, break; end
          end
          if iteration==5
            while H(newrow,coltoberearranged)==1, newrow=unidrnd(M); end
          end
          H(newrow,coltoberearranged)=1;
        end
      end
    end
    for i=r+1:M
      common=0;
      for j=1:ones_count
        if H(i,ones_position(j))==1
          common=common+1 ;
          if common==1, thecol=ones_position(j); end
        end
        if common==2
          common=common-1;
          if (round(rand)==0), coltoberearranged=thecol; thecol=ones_position(j);
           else coltoberearranged=ones_position(j);
          end
          H(i,coltoberearranged)=3;
          %make this entry 3 so that we dont use of this entry again while getting rid of other cylces
          newrow=unidrnd(M);
          %while ((newrow==i)|(H(newrow,ones_position(j))==1))
          iteration=0;
          while H(newrow,coltoberearranged)~=0
             newrow=unidrnd(M); iteration=iteration+1;
             if iteration==5, break; end
          end
          if iteration==5
            while H(newrow,coltoberearranged)==1, newrow=unidrnd(M); end
          end
          H(newrow,coltoberearranged)=1;
        end
      end
    end
  end
end;
%H;
for i=1:M
  row_flag(i)=0;
  for j=1:N
    if H(i,j)==1, row_flag(i)=row_flag(i)+1; end
    if eq(H(i,j),3), H(i,j)=0; end %replace the 3's with 0's
  end
end

06 May 2011 MATLAB for Digital Communication The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al Author: Won Yang

Hi Mr. Zouhair, I am sorry for the bug in the 'TCM_encoder()' where the first output variable name 'output' should be 'outputs'. Thanks for letting me realize my mistake. My book will be improved by the interests of the readers like you.
function [outputs,state]=TCM_encoder(....)

Comments and Ratings on Won's Files View all
Updated File Comment by Comments Rating
12 Dec 2011 PPT for Chapter 9 of "MATLAB/Simulink for Digital Communication" Chapter 9 of "MATLAB/Simulink for Digital Communication" (authored by Won Y. Yang et al.) Author: Won Yang Karan123

Thank you.

12 Dec 2011 MATLAB for Digital Communication The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al Author: Won Yang harsh

this is an fantastic work.

05 Dec 2011 MATLAB for Digital Communication The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al Author: Won Yang Yang, Won

png is a function saved in an M-file named 'png'. If you had downloaded, it would be automatically run whenever the main program "DS_SS" is run. If you don't have the function, drag and paste the following:
 
function c=png(gm,Kc,x)
%generates an m-sequence from a feedback-shift register if Kc=0
% or from a high-speed feedback shift generator if KC>0
% gm: a generator tap coefficient vector
% or a set of connected tap position numbers
%Copyleft: Won Y. Yang, wyyang53@hanmail.net, CAU for academic use only
if sum(gm>1)>0, g(gm)=1; % say, if gm=[1 2 4 5]
 else g=gm; % if gm=[1 1 0 1 1]
end
m=length(g); % Number of feedback shift-registers
if nargin==2
  if length(Kc)>1, x=Kc; Kc=0; % If x0 is given as 2nd input argument
   else x=[zeros(1,m-1) 1]; % Initial state of the shift register
  end
elseif nargin<2, Kc=0; x=[zeros(1,m-1) 1];
end
x=x(end:-1:1); N=2^m-1;
if Kc==0 % Feedback shift register
  g=fliplr(g); for i=1:N, c(i)=x(1); x=[x(2:m) rem(g*x',2)]; end
 elseif Kc<0
  g=fliplr(g); c=x;
  for i=m+1:N, x=[x(2:m) rem(g*x',2)]; c(i)=x(m); end
 else % High-speed feedback shift generator
  c=x;
  for i=m+1:N, c(i)=x(1); x=[rem(x(2:m)+g(1:m-1)*x(1),2) x(1)]; end
end

05 Dec 2011 MATLAB for Digital Communication The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al Author: Won Yang harsh

Hello every body can anybody tell me what is png command in DS_ss.m file.It is not available in matlab 2007

28 Nov 2011 PPT for Chapter 9 of "MATLAB/Simulink for Digital Communication" Chapter 9 of "MATLAB/Simulink for Digital Communication" (authored by Won Y. Yang et al.) Author: Won Yang son, Robin
Top Tags Applied by Won
matlab, signal processing, 2port network, circuit, coding
Files Tagged by Won View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Feb 2010 PPT slide for Chapter 4 (Nonlinear Equations) of "Applied Numerical Methods Using MATLAB" Chapter 4 (Nonlinear Equations) of "Applied Numerical Methods Using MATLAB" Author: Won Yang matlab, nonlinear equation, newton method 21 0
  • 3.0
3.0 | 1 rating
01 Feb 2010 PPT slide for Chapter 4 of "SIgnals and Systems with MATLAB" by Won Y. Yang et. al Chapter 4 of "SIgnals and Systems with MATLAB" by Won Y. Yang et. al Author: Won Yang signal processing, matlab, ztransform 11 0
01 Feb 2010 PPT slide for Chapter 10 of Circuit System with MATLAB by Won Y. Yang et. al Chapter 10 (Two-Port Networks) of Circuit System with MATLAB by Won Y. Yang et. al Author: Won Yang 2port network, matlab, circuit 8 0
15 Jan 2010 PPT for Chapter 9 of "MATLAB/Simulink for Digital Communication" Chapter 9 of "MATLAB/Simulink for Digital Communication" (authored by Won Y. Yang et al.) Author: Won Yang coding, communication, simulink, matlab 73 8
  • 4.8
4.8 | 5 ratings
11 Sep 2009 Screenshot MATLAB for Digital Communication The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al Author: Won Yang communiation, matlab, signal processing, but there is a proble..., simulink mdl files, i am from iraq 369 95
  • 4.47619
4.5 | 22 ratings

Contact us at files@mathworks.com