qdft.m
来自「这是支持在MATLAB中进行四元数(哈密顿数)的工具箱」· M 代码 · 共 19 行
M
19 行
function Y = qdft(X, A, L)% QDFT Discrete quaternion Fourier transform.%% This function computes the one-dimensional discrete quaternion Fourier% transform of X, which may be a real or complex quaternion array. If X% is a vector the result is a vector of the same orientation. If X is a% matrix, the transform is applied to columns of X. (Cf the Matlab dft% function.)%% A is the transform axis and it may be a real or complex pure% quaternion. It need not be a unit pure quaternion. L may take the values% 'L' or 'R' according to whether the hypercomplex exponential is to be% multiplied on the left or right of X. There are no default values.%% This function uses direct evaluation using a matrix product, and it is% intended mainly for verifying results against fast transform% implementations such as qfft.m. See also: iqdft.m.% Copyright
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?