matlab code error.........................

Status
Not open for further replies.

t_heidari_elc

Junior Member level 3
Joined
Oct 9, 2010
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,410
hello everey body.i want to run this program.but get this error.how can i solve it?


Fs=390e6;
hts1 = dsp.TimeScope(...
'Name', 'Rate Converter Output: Real Signal', ...
'SampleRate', Fs/256*4/3, ...
'TimeSpan',1.2e-3, ...
'YLimits', [-2e8 2e8]);
pos = hts1.Position;
hts1.Position(1:2) = [pos(1)-0.8*pos(3) pos(2)+0.8*pos(4)];

hts2 = dsp.TimeScope(...
'Name', 'Rate Converter Output: Imaginary Signal', ...
'Position', [pos(1)-0.8*pos(3) pos(2)-0.8*pos(4) pos(3:4)], ...
'SampleRate', Fs/256*4/3, ...
'TimeSpan',1.2e-3, ...
'YLimits', [-2e8 2e8]);

% Configure figures for plotting spectral estimates of signals.
s = hfigsddc(Fs,256*3/4);

??? Undefined variable "dsp" or class "dsp.TimeScope".

Error in ==> pak17 at 2
hts1 = dsp.TimeScope(...
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…