Josue Ortega
Followers: 0 Following: 0
Feeds
질문
Using find to determine equality not of scalars, but vectors
Hi, I have two vectors say x=[1 2 3 4 5 ] and y=[2 4]. I would like to find the elements of y in x. Usually, if y is a scalar...
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
using matchpairs when objects have different capacities
I am using the matchpairs function to determine the assignment of objects to people that minimizes the total cost. It takes as...
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
Reorganizing integer vector preserving order
Hi, I have a vector that is a randmperm of n, so it looks like this x= 2 5 6 13 18 8 14 4 9 ...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
Swap k elements in an n x1 vector
Hi I have a vector which is a random permutation of [1:n]. Say x=randperm(n) I want to create a vector that is equal to x, but...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
Finding the most common element in the first row of a matrix
Hi there I have a matrix A, and I am wanting to take the first non zero element of each column. For example, for A =[...
대략 2년 전 | 답변 수: 1 | 0