Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: help : how to reverse 2-D lookup table ?
Replies: 10   Last Post: Oct 30, 2013 5:54 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
ImageAnalyst

Posts: 12,930
Registered: 12/26/06
Re: help : how to reverse 2-D lookup table ?
Posted: Jan 30, 2010 8:47 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

meng:
I think this will help you:

clc;
close all;
clear all;
workspace; % Display workspace panel.

% Create a 1000 row by 10 column array of
% random integers in the range 0-49.
T = uint8(50*rand(1000, 10));

% Set a column where we'll look for a certain T value.
b = 8;

% Find where T = 42 in this column (column b=8)
aAtTEquals42 = find(T(:,b)==42)



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.