MATLAB: Use of wave_gen function

line codeswave_gen

i am trying to generate various line codes using the inbuilt function wave_gen in MATLAB but it shows there is no such function. I am using 2007b version. Is there any other alternative to generate line codes.Please help!!

Best Answer

It is difficult to be sure, but it appears that wave_gen was never part of MATLAB and instead was part of a Ryerson University "Communications Toolbox", http://daimi.au.dk/~pmn/Matlab/dochome/toolbox/commtbx/
Square pulses are often plotted using stairs()
Related Question