ASK demodulation code for MATLAB .
HELLO frns..
plz tel me the code for ASk demod. for matlab. I want it urgently.
plz tel me the code for ASk demod. for matlab. I want it urgently.
Replies
-
aruncharyASK Demodulation code here it is............
function run(script)
cur = cd;
if isempty(script), return, end
if ispc, script(script=='/')='\'; end
[p,s,ext] = fileparts(script);
if ~isempty(p),
if exist(p,'dir'),
cd(p)
w = which(s);
if ~isempty(w),
% Check to make sure everything matches
[wp,ws,wext] = fileparts(w);
% Allow users to choose the .m file and run a .p
if strcmp(wext,'.p') && strcmp(ext,'.m'),
wext = '.m';
end
if ispc
cont = ~strcmpi(wp,pwd) | ~strcmpi(ws,s) | ...
(~isempty(ext) & ~strcmpi(wext,ext));
else
cont = ~isequal(wp,pwd) | ~isequal(ws,s) | ...
(~isempty(ext) & ~isequal(wext,ext));
end
if cont
if exist([s ext],'file')
cd(cur)
rehash;
error(message('MATLAB:run:CannotExecute', [ s, ext ]));
else
cd(cur)
rehash;
error('MATLAB:run:FileNotFound','Can''t find %s.',[s ext]);
end
end
try
evalin('caller', [s ';']);
catch e
cd(cur);
rethrow(e);
end
else
cd(cur)
rehash;
error('MATLAB:run:FileNotFound','%s not found.',script)
end
cd(cur)
rehash;
else
error('MATLAB:run:FileNotFound','%s not found.',script)
end
else
if exist(script,'file')
evalin('caller',[script ';']);
else
error('MATLAB:run:FileNotFound','%s not found.',script)
end
end
You are reading an archived discussion.
Related Posts
Name: Abhijit Dey
Engineering Trade: Information Technology
Location: Nagpur, Mumbai
Occupation: Student
Work Experience: N/A
Hobbies & Interests: Checking out new ways to look around the gadget world and the...
Dropbox - one of the most popular file sharing and collaboration service has acquired Mailbox - a unique email client for iPhone. Today, mailbox announced that they've been acquired by...
The Annual Technical symposium of Bio-Medical Engineers, organized by Biomedical Engineers' Associat
College of engineering (CEG), Guindy will conduct BioSpectra 2013, an annual Technical symposium which will be held from Thursday, March 21 to Friday, March 23, 2013.
BIOSPECTRA’13Biospectra'13 - The National...
In season of rain due to heavy moisture in air, i.c. engine run smooth with LESS KNOCKING and feels good.
I think if we set a device with air filter...
I am looking for a little bit of advice. I'm taking the FE in April and graduating in May with a B.S. Civil Engineering, and I'm getting out there and...