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 Commenti

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

Risposte (0)

Questa domanda è chiusa.

Richiesto:

FIR
il 16 Feb 2012

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by