Effacer les filtres
Effacer les filtres

what does the meaning of this?

2 vues (au cours des 30 derniers jours)
ganesh s
ganesh s le 30 Nov 2011
hello sir i am having one matlab code but i did not understand the meaning of this line "t(:,:)=t(:,:)+uint8(t(:,:)<1)".can anybody tell me the meaning of this line. thanking You

Réponse acceptée

Daniel Shub
Daniel Shub le 30 Nov 2011
It is basically:
t = t+1 for t < 1
t = t otherwise
A clear way to write it might be
t(t < 1) = t(t < 1)+1;
  1 commentaire
ganesh s
ganesh s le 30 Nov 2011
thanks Daniel

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by