ifft integer matlab cyclic prefix

x=ifft(modData).*sqrt(64); x1 = [x(:,end-Ncp+1:end) ,x];
i get this error :Subscript indices must either be real positive integers or logicals.

2 Comments

Adam
Adam on 20 Dec 2016
Edited: Adam on 20 Dec 2016
So make sure the subscript indices are real positive integers or logicals! You haven't given any indication as to what most of the things are in that expression for us to know, but using the debugger you should be able to fix this very quickly.
the modData is modulated with qpsk, so it gives complex values,i want to add the cyclic prefix using the x1.it still given me the same error

Sign in to comment.

Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Products

Tags

Asked:

on 20 Dec 2016

Edited:

on 20 Dec 2016

Community Treasure Hunt

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

Start Hunting!