Invalid syntax for the "tf" command.

Hi I am getting this error when using the following set of code from the example
mulitpath fading channel example:
for i = 1:numFrames % Display impulse and frequency responses for 2 frames
% Create random data
msg = randi([0 1],bitsPerFrame,1);
% Modulate data
modSignal = step(hMod,msg);
% Filter data through channel and show channel responses
step(hRayChan,modSignal);
end
I made some changes in terms of speed and sampling rate that is different from the example but the error is a syntax error that is confusing, I have also changed the speed back to the one in the example and the error stills shows up, any thoughts on the cause of this ?
Regards,
Philip

1 Comment

The Rayleigh was not properly configured so please ignore this
question

Sign in to comment.

Answers (0)

Categories

Tags

No tags entered yet.

Asked:

on 1 Dec 2014

Edited:

on 1 Dec 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!