how to construct this equation in matlab?..for loop is best r something else..?

2 views (last 30 days)
http://latex.codecogs.com/gif.latex?H'_{i+1}(x,y)=round(\frac{H_{i}(2x-1,2y-1)+H_{i}(2x,2y-1)+H_{i}(2x,2y)}{4})-H_{i+1}(x,y)...
where i values varies 1 and 2.
x and y vale is 51 and 56 if i=1 ,i=2 mean x and y value is 76 and 78
[Merged from duplicate question]
http://latex.codecogs.com/gif.latex?H'_{i+1}(x,y)=round(\frac{H_{i}(2x-1,2y-1)+H_{i}(2x,2y-1)+H_{i}(2x,2y)}{4})-H_{i+1}(x,y)
for this equation i wrote this code.
x=51;
y=52;
H2'(x,y)=((H1(2x-1,2y-1)+H1(2x-1,2y)+H1(2x,2y)))/4
P=H2(x,y);
Q=H2'(x,y-H2(x,y);
here first of all H represents a horizontal subband of image 128 x 128. from this i'am derive detailed subbands H1,H2,H3. values 51 52,76 76,88 88. "i" values varies from 1 and 2.
  5 Comments

Sign in to comment.

Answers (0)

Categories

Find more on Creating and Concatenating Matrices 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!