Community Profile

photo

Khieu


University of Science, Ho Chi Minh city

Aktiv seit 2014

Statistiken

All
  • First Answer
  • Revival Level 1
  • Commenter
  • Solver

Abzeichen anzeigen

Content Feed

Anzeigen nach

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

fast 6 Jahre vor | 0

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


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

fast 7 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor

Gelöst


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

etwa 10 Jahre vor