Community Profile

# Master Blabla

Last seen: meer dan 2 jaar ago Active since 2020

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

meer dan 2 jaar 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

meer dan 2 jaar 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

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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

meer dan 2 jaar ago | 2 answers | 0

answers