Error while using dct on gpu. Matrix dimensions must agree.

Answers (1)

This appears to be a problem with the gpuArray version of dct. Thanks for reporting this.

2 Comments

Just installed 2022a, and get "Error using dct. Input gpuArray must be a vector or two-dimensional matrix." Any solution for this on the horizon?
Reshape your input to the same number of rows and [] columns. dct() that. Reshape back.

Sign in to comment.

Categories

Find more on Linear Algebra in Help Center and File Exchange

Asked:

on 7 Mar 2020

Commented:

on 31 Mar 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!