使用angle函数求复数矩阵相位时出现索引错误。
Mostrar comentarios más antiguos


I_row=ifft2(ifftshift(filtFTS_row));
A1=angle(I_row);
使用傅里叶变换后生成复数矩阵,求复数矩阵时,在第一次循环后会出现“数组索引必须为正整数或逻辑值的错误”’,第一次循环则没有问题,尝试了在循环末尾添加clear A1,但是没有用。求大佬解答。
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!