Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

01-13-2021 02:11 PM

Options

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

I have matrix A as 3*3

and matrix B as 3*3

and want matrix C as max elements out of A and B

A=

B=

C=max(A,B) elements

01-13-2021 03:17 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

You'll have to give us more details than this.

Based on your A and B, I don't see how you get C.

For example, in col3 row3, how do you get 9? I don't see a 9 anywhere in either A or B!

01-13-2021 05:37 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

I think you swapped B and C in your image.

01-13-2021 05:41 PM - edited 01-13-2021 06:10 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Once you swap the values of your B and C, here's what you can do ... (using this function)