powered by
Performs a tensor transformation of a 3D tensor using the discrete cosine transform along mode 3.
Ltrans(tnsr)
a Tensor-class object that has been transformed using the DCT.
: A 3D tensor
Kyle Caudle
Randy Hoover
Jackson Cates
require(rTensor) data(tensor) tnsr <- as.tensor(tensor) trans_tensor <- Ltrans(tnsr) # print first lateral slice trans_tensor[,1,]
Run the code above in your browser using DataLab