Community Profile



University of Science, Ho Chi Minh city

6 total contributions since 2014


Khieu's Badges

  • First Answer
  • Revival Level 1
  • Commenter
  • Solver

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

2 years ago | 0


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

3 years ago | 1 answer | 0




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

3 years ago


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

6 years ago


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

6 years ago


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

6 years ago