Feeds
提问
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.
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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]
9 years 前 | 1 个回答 | 0