I have a matrix like:

1

+----------------+

1 | -.4755687238 |

2 | -7.845191301 |

3 | -7.976995867 |

4 | -7.968100143 |

5 | -8.008870078 |

6 | -7.995388117 |

7 | -7.982097707 |

8 | -7.985624132 |

9 | -7.972667072 |

10 | -7.95900065 |

11 | -7.966202475 |

12 | -7.980775105 |

13 | -7.967044048 |

+----------------+

I have determined the smallest element of this matrix with

colmin(b[.,1])

It is equal to -8.008870078. Now I want MATA to determine the column-number of -8.008870078, which is 5. How can I do this?

Sorry, this might be a typical beginner question! But I can't find a solution to my problem in the manual. Thanks a lot for any help!

John

1

+----------------+

1 | -.4755687238 |

2 | -7.845191301 |

3 | -7.976995867 |

4 | -7.968100143 |

5 | -8.008870078 |

6 | -7.995388117 |

7 | -7.982097707 |

8 | -7.985624132 |

9 | -7.972667072 |

10 | -7.95900065 |

11 | -7.966202475 |

12 | -7.980775105 |

13 | -7.967044048 |

+----------------+

I have determined the smallest element of this matrix with

colmin(b[.,1])

It is equal to -8.008870078. Now I want MATA to determine the column-number of -8.008870078, which is 5. How can I do this?

Sorry, this might be a typical beginner question! But I can't find a solution to my problem in the manual. Thanks a lot for any help!

John

## Comment