- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
could you help me with the following problem.
1.
I would like to compare matrix A and B (both with same dimension), element by element, and produce a matrix C such that
C(i,j) = 1, if A(i,j) >= B(i,j) and C(i,j)=0 if A(i,j) < B(i,j)
2.
How can I duplicate a 1-dimensional vector with m elements n times to make it a m x n matrix?
Thank you very much
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page