edit-comparing values

imageCells - cell array contains 8 images (double array)
A=[115.9607 118.7609 118.7595 118.7681 118.3420 118.1658 118.0285 118.0862];
query=118.7595;
t = abs(A - query) < 100*eps;
if any(t), imshow(imageCells{t}); end
please tell how to form image cells from this

2 commentaires

Jan
Jan le 16 Fév 2012
What are "imageCells"? Do the values of "A" and "query" matter for your problem?
Andrei Bobrov
Andrei Bobrov le 16 Fév 2012
Hi Jan! it's from http://www.mathworks.com/matlabcentral/answers/29172-comparing-the-values

Réponses (0)

Cette question est clôturée.

Question posée :

FIR
le 16 Fév 2012

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by