Community Profile # Khieu

### University of Science, Ho Chi Minh city

6 total contributions since 2014

View details...

Contributions in
View by

Load, open and display 2dseq file (MRI, bruker)
1. You should take a look at parameters files: acqp, method. (text file) these files contain all image parameters that suitable ...

presque 2 ans ago | 0

Question

Why for loop in CPU faster than in GPU
I am running the following command: p = zeros(7000000,1); g_p = gpuArray(p); 1. CPU version for i=1:size(p,1) p(i...

plus de 2 ans ago | 1 answer | 0

### 1

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 2 ans ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

presque 6 ans ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

presque 6 ans ago

Solved

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

presque 6 ans ago