photo

Matt Talebi


University of Tasmania

Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How can I find and remove the nonzero duplicates in each column of a matrix
X is a n-by-n matrix of integers ranging from 0 to n. I want to find nonzero duplicate entries in each column and remove them.

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


concatenating certain columns of a (numeric) matrix. The id of columns of interest stored in a numeric array. Also some columns are selected more than once.
I have a numeric matrix A. I want to generate matrix B (with the same size as A) from certain columns of matrix A. Columns of in...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


Counting unique values across the columns of a matrix
How can I store indices of columns in a matrix containing more than 3 unique values? for example if: X = 8 2 1...

meer dan 9 jaar ago | 2 answers | 0

2

answers

Question


converting a double array to a logical array conditionally
Double array A is [2 1 6 7 3 5 4]. How can I convert it to a logical array in a way to get 1 for the first (for example) 3 eleme...

meer dan 9 jaar ago | 2 answers | 0

2

answers

Question


How to find the product of each element of a matrix by itself and by the other elemets at the same row?
input: x = [a,b,c; d,e,f] output: y = [a^2,a*b,a*c,b^2,b*c,c^2; d^2,d*e,d*f,e^2,e*f,f^2]

meer dan 9 jaar ago | 1 answer | 0

1

answer