Community Profile

photo

Khieu


University of Science, Ho Chi Minh city

6 total contributions since 2014

Contact

Khieu's Badges

  • First Answer
  • Revival Level 1
  • Commenter
  • Solver

View details...

Contributions in
View by

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

mehr als ein Jahr 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...

mehr als 2 Jahre ago | 1 answer | 0

1

answer

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

mehr als 2 Jahre 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 ...

fast 6 Jahre 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...

fast 6 Jahre 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,...

fast 6 Jahre ago