DCT in matlab using radians or degree

hello! I'm using DCT for extraction feature for image processing but I still confused about how to dct works in matlab. Dct in matlab is using degree or radian? Please anyone help. Thankyou

2 Comments

I think DCT in matlab using radian. Because the syntax for degree is cosd. When you see the algorithm in https://www.mathworks.com/help/images/discrete-cosine-transform.html#:~:text=The%20discrete%20cosine%20transform%20(DCT,(DCT)%20of%20an%20image, the formula using pi. We know pi is used for radian
Thankyou so much chintya! It very helpful

Sign in to comment.

Tags

Asked:

on 5 Jul 2020

Commented:

on 15 Jul 2020

Community Treasure Hunt

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

Start Hunting!