how to construct this equation in matlab?..for loop is best r something else..?
Show older comments
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
Jan
on 21 Jan 2013
What have you tried so far and which problems occurred?
Dhines
on 22 Jan 2013
Roger Stafford
on 22 Jan 2013
Edited: Roger Stafford
on 22 Jan 2013
Please give us a lot more information, Prasanna. You know we can't help you with the little information you have given. What do you mean by "construct this equation"? Explain the significance of that equation. What does the "prime" mark on H indicate? Give us all the details.
Dhines
on 22 Jan 2013
Walter Roberson
on 22 Jan 2013
[New question has been merged into the original.]
Answers (0)
Categories
Find more on Numerical Integration and Differential Equations 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!