The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Min Function Doubt in storing all minimum values a array
Replies: 1   Last Post: Mar 18, 2013 8:56 AM

Advanced Search

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

Posts: 9,850
Registered: 6/7/07
Re: Min Function Doubt in storing all minimum values a array
Posted: Mar 18, 2013 8:56 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 3/18/2013 6:49 AM, Riya Paul wrote:
> Hello ,
> I am really a new learner in matlab simulation!!!!
> I want to get the the minimum value of every single colum that is in a
> two dimentional matix of
> number. I used min function and it returns the minimum of every single
> column as a
> vector. I want to store every minimum value in a array and their
> corresponding minimum indices in a different array .
> Can you tell me how to do that ???

doc min % answers that directly

Although it's not clear why you seem to be making a difference between
the vector of minimums and an array--what do you expect the minimum of
columns of a 2D array to be if not a vector (which is a 1D array)?


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.