Solved


For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

oltre 4 anni ago

Solved


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

oltre 4 anni ago

Solved


find the logic,easy one
find the logic behind, example x=18 y=306 x=53 y=2809

oltre 4 anni ago

Solved


determine amount cookies left
started with 3 cookies and you never ate any how many are left

oltre 4 anni ago

Solved


Find the largest number
Given a vector v with 4 elements, find the largest number x. Example: Input: v = [4 7 1 6]; Output: x = 7; You mu...

oltre 4 anni ago

Solved


How many days in a month?
Return the number of days in a given month in 2017. If the input is not a valid month number, return -1. Examples: Input...

oltre 4 anni ago

Solved


edge detection
write a function that gives the indexes of rising or falling edge x is a vector (assume it contains always at least one eleme...

oltre 4 anni ago

Solved


When can one be the Life Member of the IEEE?
Consult the site http://en.wikipedia.org/wiki/Ieee from where it can be seen that IEEE Members who have reached the age of 65 an...

oltre 4 anni ago

Solved


Possible Outcomes of American Roulette
The payout for American roulette can be calculated by: payout = (38/n)-1 where n is the number of squares the bet covers. ...

oltre 4 anni ago

Solved


Remove NaNs and numbers adjacent to NaNs
The aim is to remove the elements before and after NaN occurrences inside a vector. For example: x = [6 10 5 8 9 NaN 23 1...

oltre 4 anni ago

Solved


Rainbow matrix
Create a "rainbow matrix" as described in the following examples Input = 3 Output = [ 1 2 3 2 3 2 ...

oltre 4 anni ago

Solved


Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

oltre 4 anni ago

Solved


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

oltre 4 anni ago

Solved


calculate Compound Intrest
Calculate Compound Intrest for given data

oltre 4 anni ago

Solved


Permutations of input vector
Find and output all permutations of given vector

oltre 4 anni ago

Solved


Step up
For given input array, output a array with all elements step up by two

oltre 4 anni ago

Solved


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

oltre 4 anni ago

Solved


Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...

oltre 4 anni ago

Problem


Decoder Ring
You are given a matrix of numbers, your objective is to use the decoder ring to find the hidden message. ex. encoded_messa...

oltre 4 anni ago | 3 | 19 solvers

Solved


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

oltre 4 anni ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

oltre 4 anni ago

Solved


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

oltre 4 anni ago

Solved


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

oltre 4 anni ago

Solved


the number of inputs
Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

oltre 4 anni ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

oltre 4 anni ago

Solved


find whether it is prime or not
For a given number find if its prime

oltre 4 anni ago

Solved


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

oltre 4 anni ago

Solved


Accessing elements on the diagonal
Access the diagonal elements of a matrix without 'diag' function

oltre 4 anni ago

Solved


Decide whether determinant is zero.
Given a 3 x 3 matrix, find the determinant. Let y = true if the determinant is zero, and let y = false if the determinant is no...

oltre 4 anni ago

Solved


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

oltre 4 anni ago

Load more