Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Minimum of 2 Matrices' topicStudent Support Forum > General > Archives > "Minimum of 2 Matrices"

Next Comment >Help | Reply To Topic
Author Comment/Response
Cedric Louyot
04/30/03 12:21pm

Hello,

I'm looking for a way to find the minimum of 2 matrices element by element.
For example,
Min[{{0,1},{2,3}},{{0,0},{4,2}}] yields 0 but I would like to get {{0,0},{2,2}}.
I know I can do that with a loop but I would like to avoid this solution because it is time-consuming and I try to create a real fast process. Is there a way to make Min work on matrices?

Thank you for your help.

Cedric

URL: ,

Subject (listing for 'Minimum of 2 Matrices')
Author Date Posted
Minimum of 2 Matrices Cedric Louyot 04/30/03 12:21pm
Re: Minimum of 2 Matrices Rama Kishan ... 05/26/03 10:57am
Next Comment >Help | Reply To Topic