photo

Tom


Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

fast 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 2 Antworten | 3

2

Antworten

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 5 Antworten | 1

5

Antworten

Frage


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

etwa 11 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten