Community Profile

# Selvaraaju Murugesan

Active since 2012

LaTrobe University, Melbourne, Australia

All

#### Content Feed

View by

Solved

Sum two real numbers
It seems easy, but... You cannot use +, -, plus, diff, cumsum, *, prod, times, etc.

mer än 6 år ago

Solved

Find the sum of n squares
What is the sum of the squares of the first n integers?

mer än 6 år ago

Solved

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

mer än 6 år ago

Solved

Transpose of matrix
Transpose of matrix as per test cases

mer än 6 år ago

Solved

Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

mer än 6 år ago

Solved

Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

mer än 8 år ago

Solved

find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.

mer än 8 år ago

Solved

Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

mer än 8 år ago

Solved

Matrix Generation.
if input n =1, generate a matrix y = [1]

mer än 8 år ago

Solved

Max Change in Consecutive Elements
If an array is given as input then find the index of consecutive elements that represent maximum change. Example: Input ...

mer än 8 år ago

Submitted

Speech Recognition
word recognition matlab

Solved

Sum of digit range
Example: If A is n1, and B is n2 digit positive numbers. A*B's digit range will be [c d] (c = min & d = max). Then return ...

mer än 8 år ago

Solved

Measure a Special Distance
Given an n-by-2 matrix with positive and negative numbers, return an n-by-n matrix in the manner of the function template.

mer än 8 år ago

Solved

Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

mer än 8 år ago

Solved

Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

mer än 8 år ago

Solved

Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

mer än 8 år ago

Solved

Inverse of Hilbert matrix
Given a non-negative integer x, return the element-wise power of 2 of the inverse of Hilbert matrix.

nästan 9 år ago

Solved

What day is it?
Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

nästan 9 år ago

Solved

Convert a vector into numbers
Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'. Examples x = [ 1...

nästan 9 år ago

Solved

Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

nästan 9 år ago

Solved

row-th maximum row elements
Input a is a square matrix of size n*n. Output vector v is of size 1*n. The ith element of output v is the ith largest element o...

nästan 9 år ago

Solved

Sort the vector with the given index
Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

nästan 9 år ago

Solved

Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

nästan 9 år ago

Solved

Area of a disk
Find the area of a disk or circle. x= radius of the disk.

nästan 9 år ago

Solved

You are in XY plane ?
Take point having position Vector of (x,y,z). You have to decide whether this point lies in XY plane or not. If it lies then ret...

nästan 9 år ago

Solved

Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

nästan 9 år ago

Solved

Max of a Vector
Write a function to return the max of a vector

nästan 9 år ago

Solved

Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

nästan 9 år ago

Solved

Reverse Concatenation
Suggest methods to form a Matrix after deleting one of the input's elements. Input should be element's position and output shou...

nästan 9 år ago

Solved

Path calculation with polynomials
Let a vector x be the input to our function. 1. If a value of an input vector element x is lower than 0, set this value to 0....

nästan 9 år ago