How to display c matrix shown below?

1 view (last 30 days)
juveria fatima
juveria fatima on 18 Sep 2018
Answered: KSSV on 18 Sep 2018
>> I = imread('baboon.tiff'); %input image of size 512*512*3
E1 = encode(I);% this function will return 262144*8
t = wpdec2(E1,2,'db4');% apply wpdec2
cfs = wpcoef(t);% extract coefficients
c = reshape(cfs, 512, 512, 8);% reshaping it back to get E1
% now we wish to display c

Answers (1)

KSSV
KSSV on 18 Sep 2018
Simply typing c will display on the workspace.....but what's the use? Read about imagesc, imshow, pcolor.

Categories

Find more on Linear Algebra in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!