Community Profile

photo

gdgc


Last seen: 1 year ago Active since 2017

Statistics

All
  • First Review
  • Solver
  • Thankful Level 1

View badges

Content Feed

View by

Solved


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

3 years ago

Solved


Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

3 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

4 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

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

5 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

5 years ago

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

5 years ago

Solved


Create a random logical vector of N elements of which M are true.
Your task for tomorrow is to create a random binary (logical) vector of N elements of which M are true. For example: ran...

5 years ago

Question


Why GPU computation does not scale linearly with the number of loops ?
Good evening everyone, I'm currently trying to speed up my code by converting it to GPU computation. But I'm facing a proble...

6 years ago | 1 answer | 0

1

answer

Question


speeding up symmetric distance matrix computation
Hi everyone, I'm currently working on some discrete vortex algorithm, and the main time consuming part can be sumed up by the...

6 years ago | 0 answers | 0

0

answers