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?

 Réponse acceptée

Sean de Wolski
Sean de Wolski le 18 Mai 2011

0 votes

An image matrix is just numbers and variables...

3 commentaires

Aditi
Aditi le 18 Mai 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);
Aditi
Aditi le 18 Mai 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);
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by