Alexander Shtof
Technion, Israeli Institute of Technology
2016년부터 활동
Followers: 0 Following: 0
Feeds
질문
Extract minimizer index for each subscript using `accumarray' with gpuArray
I have an array if values `vals', and a corresponding array of subscripts `subs' with repeated subscripts into an output array. ...
거의 7년 전 | 답변 수: 0 | 0
0
답변질문
Fastest pairwise row sums
I have two matrices A and B, and I would like to compute a matrix C whose rows are all possible combinations of the sum of a row...
거의 7년 전 | 답변 수: 2 | 0
2
답변질문
Find minimum in groups defined by cell arrays
I have a cell array I and a vector X. Each item in I specifies a group of indices of items in X. I would like to find the minimu...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
LINPROG stopped because some objective or constraint matrix coefficients are too large in magnitude
The error in the title is displayed for an LP my code has built and was trying to solve. I do not understand the source of the p...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Vectorized "find an replace"
I have a matrix `A` and an array `map`, both consist of integers. I would like to replace every entry where `A == i` with `map(i...
8년 초과 전 | 답변 수: 2 | 0
2
답변문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
8년 초과 전
문제를 풀었습니다
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...
8년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
8년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
8년 초과 전
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
8년 초과 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
8년 초과 전
질문
Union of closed intervals
I have a matrix |A| of size |2 x N| matrix representing |N| closed intervals. That is, the |i|-th interval is [ |A(1, i) .. A(2,...
8년 초과 전 | 답변 수: 3 | 1
3
답변문제를 풀었습니다
Find the inverse permutation
Given a permutation vector perm (a vector of n elements containing all the elements from 1 to n in some order), return the permu...
8년 초과 전
질문
Simulating scatteredInterpolant for improved performance.
I have a set of 3D points X and a set of query points Q. I would like to interpolate function values at the query points Q, give...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Change label font in Graph plots
I am plotting a Graph object (created using the graph function). I figured out how to label nodes and edges in my graph, but I d...
9년 초과 전 | 답변 수: 1 | 0


