Community Profile

photo

Master Blabla


Last seen: 3 years ago Active since 2020

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How to vectorize this for loop
How to vectorize this for loop %%% F is array of float %%% SD is two dimension array of float for i=1:10 F(i) = SD(i...

3 years ago | 1 answer | 0

1

answer

Question


How to vectorize if statement
How to vectorize this if statement f = 0; if(m < 7) if(m < sm*0.3) f = 5; end end

3 years ago | 2 answers | 0

2

answers

Question


Vectorize two for loops
How to vectorize this function: for i=1:100 for j=1:200 TheOne(i,j) = i+j; end end

3 years ago | 2 answers | 0

2

answers

Question


How to vectorise this function
How to vectorize this function: NumI = 0; for i=1:100 if Value(i) < 10000 NumI = NumI +1; end end El...

3 years ago | 2 answers | 0

2

answers

Question


The function without if statement
How to vectorize this function with if statement Number = 100 VectorIm = zeros(5000, Number); %%% initialise VectorIm with 500...

3 years ago | 1 answer | 0

1

answer

Question


This is function to help
for j=1:500000 a = V(:,j); Val(j) = SD(a,QuImage); end

3 years ago | 2 answers | 0

2

answers