使用angle函数求复数矩阵相位时出现索引错误。
Ältere Kommentare anzeigen


I_row=ifft2(ifftshift(filtFTS_row));
A1=angle(I_row);
使用傅里叶变换后生成复数矩阵,求复数矩阵时,在第一次循环后会出现“数组索引必须为正整数或逻辑值的错误”’,第一次循环则没有问题,尝试了在循环末尾添加clear A1,但是没有用。求大佬解答。
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!