Community Profile

# Master Blabla

Last seen: ongeveer 2 jaar ago Active since 2020

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

ongeveer 2 jaar ago | 2 answers | 0

### 2

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

ongeveer 2 jaar ago | 2 answers | 0

### 2

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

ongeveer 2 jaar ago | 2 answers | 0

### 2

Question

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

ongeveer 2 jaar ago | 1 answer | 0