Community Profile

photo

Marleen van Dijk


Last seen: 1 year ago Active since 2020

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


I have two matrices and I would like to create a matrix containing the above threshold value of each element of both matrices
I have two matrices of the same size and for each element I would like to do the following: if the value of the element in matr...

1 year ago | 2 answers | 0

2

answers

Question


How to improve my code speed (for loop)
T = clasval.T; Gamma_x = clasval.Gamma_x; Gamma_xy = clasval.Gamma_xy; Gamma_y = clasval.Gamma_y; ut = clasval.ut; [nsamp...

1 year ago | 1 answer | 0

1

answer

Question


List of IDs to matrix of indexes
I have a list containing numbers like lijst = [1,1,1,2,2,3,3,3,3]; Now I want to make a matrix/cell array which counts up like:...

1 year ago | 1 answer | 0

1

answer

Question


Using a 3D matrix to avoid for loops
I would like to speed up my code and avoid for loops. I want to extract smaller matrices which are placed along the diagonal of ...

1 year ago | 1 answer | 0

1

answer