When using vitdec function for testing error coming like "inputs must be a scalar and a square matrix. To compute elementwise POWER, use POWER (.^) instead"
Show older comments
I am trying to test the vitdec function using soft decision. At this time, I am getting error as "Inputs must be a scalar and a square matrix.To compute elementwise POWER, use POWER (.^) instead"
Syntax used for viterbi decoder is given below,
decoded_data = vitdec(out_interleaved, trellis_type,34,'trunc','soft','32');
Where out_interleaved is an array which contains signed fixed point values
Also I am having one doubt that Does the vitdec function accepts only positive integer value for soft decision based method?
Please help me to solve this problem
Answers (1)
Tamil selvan
on 11 Oct 2017
0 votes
1 Comment
Walter Roberson
on 11 Oct 2017
I think it should be 7 rather than '7'
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!