使用angle函数求复数矩阵相位时出现索引错误。
Show older comments


I_row=ifft2(ifftshift(filtFTS_row));
A1=angle(I_row);
使用傅里叶变换后生成复数矩阵,求复数矩阵时,在第一次循环后会出现“数组索引必须为正整数或逻辑值的错误”’,第一次循环则没有问题,尝试了在循环末尾添加clear A1,但是没有用。求大佬解答。
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices 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!