Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

9 years ago

Solved


Matrix with different incremental runs
Given a vector of positive integers a = [ 3 2 4 ]; create the matrix where the *i* th column contains the vector *1:a(i)...

9 years ago

Solved


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

9 years ago

Solved


select the primes of a vector
Find the prime numbers in a vector

9 years ago

Solved


So many choices
For inputs _n_ and _k_ (in that order), output the number of ways that k objects can be chosen from amongst n distinct objects. ...

9 years ago

Solved


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

9 years ago

Solved


NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

9 years ago

Solved


Rotate it!
Given a set of points, your aim is to rotate it by a given angle "theta" CCW (in 2d). The points are given in a matrix(x) of dim...

9 years ago

Solved


Replace Negative(-) by 0 and positive by 1
In a given Matrix Replace all element having *Negative sign with 0* and *Positive elements with 1* .

9 years ago

Solved


Relation between functions "dec2bin" & "dec2binvec"
Here it's an easy problem we try to find the relation between the two functions "dec2bin" & "dec2binvec", so here you must write...

9 years ago

Solved


Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

9 years ago

Solved


Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10]. Find whether the number n is present in given array or not. If the number n is prese...

9 years ago

Solved


Area of square
find the area of the square, whose length of diagonal is given as x.

9 years ago

Solved


Mongean Shuffle
A Mongean shuffle of an n card deck starts with putting the initial deck on the left hand side. * The top card of the deck is...

9 years ago

Solved


raise 1/3
raise 1/3

9 years ago

Solved


what is the speed of the car if the car travelled 10m in 5 seconds
what is the speed of the car if the car travelled 10m in 5 seconds

9 years ago

Solved


what is the cosine of pi
what is the cosine of pi

9 years ago

Solved


what is sin of 0
what is sin of 0

9 years ago

Solved


Even or Odd
Write a function witch can give us an answer if this a value given x is odd or even, if x is even return true and if x is odd re...

9 years ago

Solved


Find my secret function I
If give my function a x value it will give me a y value, so find the secret of it: Examples: input x=[2 5 6 8 9] ---- >>> o...

9 years ago

Solved


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

9 years ago

Solved


Move if I am Optimus Prime
If the number is a prime, roll out!

9 years ago

Solved


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

9 years ago

Solved


Weighted average
Compute the weighted average Y, of the vector A, given the weight vector W. The weighted average is the sum of the dot produc...

9 years ago

Solved


multiply by 3
Multiply a given input by 3

9 years ago

Solved


multiply by 4
multiply a given an input by 4

9 years ago

Solved


multiply by 5
multiply a given input by 5

9 years ago

Solved


multiply an inputs by 6
multiply an input by 6

9 years ago

Solved


multiply an input by 10
given an input, multiply it by 10

9 years ago

Solved


multiply an inputs by 7
given an input multiply it 7

9 years ago

Load more