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 Kommentare

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

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

FIR
am 16 Feb. 2012

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by