Invalid syntax for the "tf" command.

3 views (last 30 days)
Philip
Philip on 1 Dec 2014
Edited: per isakson on 1 Dec 2014
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
Philip
Philip on 1 Dec 2014
The Rayleigh was not properly configured so please ignore this
question

Sign in to comment.

Answers (0)

Categories

Find more on Propagation and Channel Models in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!