Community Profile

photo

Christopher


Last seen: 6 Monate vor Aktiv seit 2013

Followers: 0   Following: 0

Kontakt

Statistiken

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


replace values in columns of a matrix
I have a matrix of random numbers, with some repeating. For example: OV = 29.5 -29.3 82.2 -49.1 12.6 -62.2 82.2 -72.8...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


get indices for part of a matrix
I have the matrix T, I want to get the indices of a part this matrix. I would imagine using a function of the form: ind1 =...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to specify number of threads a matlab session can use
I have read many other 'answers' on this matter, but I am not succeeding. I have a heavily vectorized code that I want to run...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Only mask elements of some value with conv2
I want to use convolution, or something like convolution, to perform sum over neighboring elements. So normally I could use ...

mehr als 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Problem with logical indexing with arbitrary indices
I have the code: aarray(find(r(1,1)==1)) = bindices(end); where aarray is a row vector, r is a matrix, and bindices is ...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Make index of elements based on random values in another matrix
I have the following two matrices, one of random numbers, and the other of a random integer 1-8: X = rand(10,10); r = rou...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


sample neighboring elements in a matrix
r = round(0.5+randi(8,size(10,10))*8); % I have the matrix of random integers r1 = r(1:3:end,1:3:end); % I sample every elem...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


problem with vector logic
Why doesn't the final logical operation work? Oneigh=zeros(10,10); r = round(0.5+rand(10,10)*8); Oneigh(r==1)=r; ...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to reassemble tessellated matrix?
I am able to "tessellate" a matrix into 4 smaller matrices by deleting rows and columns as follows: r= rand(size(P)); r1...

mehr als 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Save a matrix to a file with an array of matrices without loading all of the data
I have the (example) matrix rand(1000,1000) generated in a loop. For each loop I want the data in this matrix to be saved to a f...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Fastest calculation method to: Count elements in a matrix, in the neighborhood of some element, having some value
For an element (i,j) in a matrix I want to calculate the number of neighboring elements which have the same value as that in (i,...

mehr als 10 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


64-bit MATLAB student version
Is there a 64 bit student version of matlab? 32 bit matlab only allows use of 4 GB of memory. Unfortunately, it is almost the y...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort