Find coordinates
by Chris Riederer
27 Jul 2005
(Updated 27 Jul 2005)
Input a value and a matrix, and this function will output the row(s) and column(s) of the value.
|
Watch this File
|
| File Information |
| Description |
getcoord(value,matrix)
This function finds the value inside of a matrix containing it. Imput first the value, then the matrix, and the output will be in the form of a vector [r c] with r being the row of the value and c being the column. If the value is present multiple times, the output will be have more rows of [r c]. You can also type in the function in the form getcoord(COORDVAL, MATRIX, RANGEROW, RANGECOL)
where rangerow and rangecol are vectors of integers less than or equal to the dimension of the matrix. This simply finds the value or values in the specified area. |
| MATLAB release |
MATLAB 6.5.1 (R13SP1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (14) |
| 27 Jul 2005 |
Jos x
|
|
|
| 27 Jul 2005 |
majj maha
|
|
|
| 28 Jul 2005 |
Robert Young
|
|
|
| 29 Jul 2005 |
ciccio balu
|
|
|
| 29 Jul 2005 |
K Morton
|
|
|
| 29 Jul 2005 |
Jos x
|
|
|
| 29 Jul 2005 |
Jos x
|
|
|
| 01 Aug 2005 |
Chris Riederer
|
|
|
| 09 Aug 2005 |
Them Them
|
|
|
| 08 Sep 2005 |
Demyan .
|
|
|
| 21 Sep 2006 |
noam zick
|
|
|
| 22 May 2008 |
Arnaud Laurent
|
|
|
| 03 Jun 2010 |
Vanessa
|
|
|
| 03 Jun 2010 |
Vanessa
|
|
|
|
Contact us at files@mathworks.com