使用angle函数求复数矩阵相位时出现索引错误。
이전 댓글 표시


I_row=ifft2(ifftshift(filtFTS_row));
A1=angle(I_row);
使用傅里叶变换后生成复数矩阵,求复数矩阵时,在第一次循环后会出现“数组索引必须为正整数或逻辑值的错误”’,第一次循环则没有问题,尝试了在循环末尾添加clear A1,但是没有用。求大佬解答。
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!