Community Profile

photo

Hylke Dijkstra


Last seen: 7 months ago Active since 2022

Statistics

  • Thankful Level 3
  • Thankful Level 2

View badges

Content Feed

View by

Question


Why does my subtraction yield different results?
I have been working on an analysis and after simplifying my code for speed the results came out differently even though I think ...

7 months ago | 2 answers | 0

2

answers

Question


How to change the colorbar limits in Matlab?
Dear all, I want to apply log scaling to my colormap because the data I have is heavily skewed. My code is the following: A = ...

1 year ago | 2 answers | 0

2

answers

Question


Question about matrix manipulation
Dear all, So I have the following problem: A = magic(9); %% this is a 9x9 matrix, which can be divided into 9 3x3 matrice...

1 year ago | 1 answer | 1

1

answer

Question


How to keep logarithmic scaling constant between multiple graphs?
Dear all, For a research project I want to display a relatively large matrix (1435x1435) that has coefficients between 0 and 1....

1 year ago | 1 answer | 0

1

answer

Answered
Preallocating for speed with increments
YUS = Y(:,ROW); B = zeros(1,35); C = B; for h = 1:35 for l = h:35:1435 A = YUS(l,:); B = [B; A]; end B = one...

2 years ago | 0

Question


Preallocating for speed with increments
I am trying to improve the efficiency of my code (the code I am running now takes several minutes to execute) and parts of my co...

2 years ago | 2 answers | 0

2

answers

Question


Elementwise division in matrix notation
Dear all, I am trying to write the following code in matrix notation: A = B. / C; A, B and C are column vectors with 1435 row...

2 years ago | 2 answers | 0

2

answers

Answered
How to replace specific values with 0's
Thanks!

2 years ago | 0

Question


How to replace specific values with 0's
Dear all, I have a 1435x205 matrix and I want to obtain the sum of a specific set of cells. In this case it is from the 146th t...

2 years ago | 2 answers | 0

2

answers

Question


How to replace all but one value with zero
I have generated the following vector f: f=[49; 18; 48] And I want to be able to replace each element, except let's say f21, w...

2 years ago | 1 answer | 0

1

answer

Question


Generating a matrix with specific sums
Dear all, I am trying to generate a matrix based on specific sums. Let's say I generate the following matrix X = randi([0 400]...

2 years ago | 2 answers | 0

2

answers