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

2 views (last 30 days)
[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

Sean de Wolski
Sean de Wolski on 18 May 2011
An image matrix is just numbers and variables...
  3 Comments
Aditi
Aditi on 18 May 2011
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);
Sean de Wolski
Sean de Wolski on 18 May 2011
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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!