Feeds
질문
Recursively generating permutation matrices
Hi, As part of some code I'm writing I need to generate all possible matrices for a given size m x n, where there must be exa...
거의 10년 전 | 답변 수: 2 | 0
2
답변질문
Delete rows of different permutations of same set
Say I have an mx4 matrix A. The rows of A contain different digits from 0-9, but many of them have the digits in a different or...
거의 10년 전 | 답변 수: 2 | 0
2
답변질문
Call Matlab distance metrics with function
Hi, I'm writing a function in which I call the built in Matlab function 'pdist'. Can I somehow have the user specify which d...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
Repeat Try/Catch loop?
I have code that sometimes results in an error, and sometimes not. I'd like to have the code run, and then if an error occurs t...
대략 11년 전 | 답변 수: 2 | 3
2
답변질문
Find index of first nonempty cell in array?
Hi, I have a cell array with values and empty cells. I'd like to return the index of the first empty cell. For example, f...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
How to repeat rows of matrix?
Hi, I have a matrix and a vector indicating how many times the corresponding lines in the matrix should appear. I'd like to ...
대략 11년 전 | 답변 수: 5 | 1
5
답변질문
Ismember function -- return all indexes, not just lowest?
According to the Matlab documentation, [Lia,Locb] = ismember(A,B) returns an array, Locb, containing the lowest index in B fo...
대략 11년 전 | 답변 수: 2 | 1
2
답변질문
How do I delete empty cells in rows of a cell array?
Hi, I have a cell array of strings and empty cells. I would like to rearrange this so the empty cells are on the end of each...
대략 11년 전 | 답변 수: 2 | 0