battousai_47
Newbie level 5
hi every1,can anybody help me to change this m-file function into an embedded matlab function to be used as a block in simulink?????\
here is the m-file
% Manchester code
t=1:200;
% logic "1"
f(1:50)=1;
f(51:100)=-1;
% Logic "0"
f(101:150)=-1;
f(151:200)=1;
freqz2(f)
here is the m-file
% Manchester code
t=1:200;
% logic "1"
f(1:50)=1;
f(51:100)=-1;
% Logic "0"
f(101:150)=-1;
f(151:200)=1;
freqz2(f)