DCT in matlab using radians or degree

2 views (last 30 days)
Della N
Della N on 5 Jul 2020
Commented: Della N on 15 Jul 2020
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
Chintya Mortisalma Romadhon
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
Della N
Della N on 15 Jul 2020
Thankyou so much chintya! It very helpful

Sign in to comment.

Answers (1)

Kanupriya Singh
Kanupriya Singh on 6 Jul 2020

Tags

Community Treasure Hunt

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

Start Hunting!