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: doubts in matlab
Replies: 3   Last Post: Feb 18, 2013 12:00 AM

Advanced Search

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

Posts: 13
Registered: 12/20/12
doubts in matlab
Posted: Feb 17, 2013 6:21 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am tried to find minimum value of particular columns and rows separately but i am getting wrong answers.
for example a = [1 2 3 ;
6 5 4;
8 1 7]
[x y] = min(a(2:end,2))

instead of getting x= 3 y =2 i am getting some other value.how to write correct code for this concept.
Thanks in advance

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

[Privacy Policy] [Terms of Use]

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