Community Profile

photo

Giridharan Ramasamy


Last seen: ungefär en månad ago
14 total contributions since 2020

Giridharan Ramasamy's Badges

  • Community Group Solver
  • Solver

View details...

Contributions in
View by

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

ungefär 2 månader 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,...

ungefär 2 månader ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

ungefär 2 månader ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

ungefär 2 månader ago

Solved


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

ungefär 2 månader ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

ungefär 2 månader ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

ungefär 2 månader ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

ungefär 2 månader ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

ungefär 2 månader ago

Solved


Find max
Find the maximum value of a given vector or matrix.

ungefär 2 månader ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

ungefär 2 månader 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...

ungefär 2 månader 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 ...

ungefär 2 månader 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:...

ungefär 2 månader ago