Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Getting this msg in matlab!! plz help

Status
Not open for further replies.

bt87

Junior Member level 3
Joined
May 25, 2008
Messages
30
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,457
i am making program which will find edges in RGB image using dizenzo and sobel method but i am getting this error msg in matlab:
"??? Error using ==> mpower
Both operands must be scalar.

Error in ==> pro at 27
gxx = [(abs(re))^2 + (abs(ge))^2 +(abs(be)^2)];"

Here is my code...
 

My first guess is that you should perform a pointwise square

gxx = [(abs(re)).^2 + (abs(ge)).^2 +(abs(be).^2)];"
 

vll....
probel resolved already thanks for your help....
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top