MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by FIR
on 20 Oct 2011

i have a code for performing ebcot compression..I have to perform for low,high,vertical,diagonal coefficient

[out,mat_log]=ebcotcomp(A,bx,by)

[out,mat_log]=ebcotcomp(H,bx,by)

[out,mat_log]=ebcotcomp(V,bx,by)

[out,mat_log]=ebcotcomp(D,bx,by)

A-low pass filter

H-high pass filter

V-vertical

if i run this code ,I get an error

Error in ==> er at

[out,mat_log]=ebcotcomp(A,bx,by)

but,if i comment first line and run,i get the result for other three,if i do not comment i get this error.....

please suggest some idea

*No products are associated with this question.*

Answer by Ashish Uthama
on 17 Sep 2012

"sir ,I changed those A letters to another letter B ,IT WORKS NOW"

## 7 Comments

## Jonas Reber (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/18798#comment_41405

have a look at A

ther has to be something wring with it. size?

## FIR (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/18798#comment_41407

size is same

## Jonas Reber (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/18798#comment_41410

so what does the error say exactly?

%%

try

[out,mat_log]=ebcotcomp(A,bx,by)

catch e

disp('error');

e.message

end

## Jonas Reber (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/18798#comment_41411

do you also get the error if you swap the two first lines? is it still at the first line? or always where A is?

## FIR (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/18798#comment_41421

only where A is

## Walter Roberson (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/18798#comment_41688

We need the exact message.

## FIR (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/18798#comment_41842

sir ,I changed those A letters to another letter B ,IT WORKS NOW