Community Profile

photo

Tom


8 total contributions since 2013

Contact

Tom's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


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...

plus de 6 ans ago | 2 answers | 0

2

answers

Question


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...

plus de 6 ans ago | 2 answers | 0

2

answers

Question


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...

plus de 7 ans ago | 1 answer | 0

1

answer

Question


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...

presque 8 ans ago | 2 answers | 3

2

answers

Question


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...

presque 8 ans ago | 1 answer | 0

1

answer

Question


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 ...

presque 8 ans ago | 5 answers | 1

5

answers

Question


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...

presque 8 ans ago | 2 answers | 0

2

answers

Question


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...

presque 8 ans ago | 2 answers | 0

2

answers