How to Rectify the "index must be a positive integer or logical" Error in my code?
1 view (last 30 days)
Show older comments
Hi....Everybody... How are you?
??? Attempted to access dompol1(-1,:); index must be a positive integer or logical.
Error in ==> DEIMGC at 12 D1=dompol1(fraco(4),:);
Error in ==> VQWTVARWTQT at 486 [cimg1g]=deimgc(vqcode7g,dompool3g,gsize,scale);
This is Error in my code? How to correct that Error in my code.
>>
0 Comments
Accepted Answer
More Answers (1)
Muruganandham Subramanian
on 14 Dec 2012
Edited: Muruganandham Subramanian
on 14 Dec 2012
Use abs() command
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!