Can I use symsum function (summation) for an image matrix?

[EDIT: Wed May 18 17:12:17 UTC 2011 - Clarify, Remove Duplicate - MKF]
Can I use symsum function (summation) for an image matrix...or is it just applicable for numbers and variables etc?

 Accepted Answer

An image matrix is just numbers and variables...

3 Comments

my code for an image matrix B(i,j) given below...is it correct...
syms i;
syms j;
A=symsum(symsum(xor(B(i,j),B(i-1,j)),j,0,1024),i,0,786);
my code for an image matrix B(i,j) given below...is it correct...
syms i;
syms j;
A=symsum(symsum(xor(B(i,j),B(i-1,j)),j,0,1024),i,0,786);
I don't know is it?
What do you have and what is your goal? Edit your original question. I would guess symsum is not what you want.

Sign in to comment.

More Answers (0)

Categories

Find more on Mathematics 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!