how to perform idwt on a 2D matrix?

1 view (last 30 days)
Sajid Sarwar
Sajid Sarwar on 19 Nov 2018
Commented: Sajid Sarwar on 22 Nov 2018
s=rand(10000,1);
d=dwt2(s,'haar');
Now how to perform idwt2 on d matrix.
  2 Comments
Sajid Sarwar
Sajid Sarwar on 22 Nov 2018
Answer of above question
s=rand(10000,1);
[LL,LH,HL,HH]=dwt2(s,'haar');
sx=size(s);
st =idwt2(LL,LH,HL,HH,'haar',sx);

Sign in to comment.

Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!