Armadillo 伊夫特支持倍频程/Matlab的"dim“吗?
发布于 2016-04-15 20:12:33
Armadillo文档的内容是:“如果给定一个矩阵,则对矩阵的每一列向量进行转换”。所以,它不支持dim,但是您可以将Armadillo的ifft()方法看作带有dim = 1 (列)的Octave/MATLAB方法。
如果您想使用行执行ifft(),则只需转置输入矩阵.
mat X; // This is the matrix you want to call ifft() on.
// The second transpose is optional, but it will get the Y matrix to have
// the same dimension as the X matrix.
mat Y = ifft(X.t()).t();https://stackoverflow.com/questions/36535502
复制相似问题