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 Comments

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

Answers (0)

This question is closed.

Asked:

FIR
on 16 Feb 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!