Darshan Ramakant Bhat

MathWorks

Last seen: oltre 2 anni fa Attivo dal 2017

Followers: 0   Following: 0

All

Feeds

Visto da

Risolto

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

oltre 6 anni fa

Risolto

Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

circa 7 anni fa

Risolto

Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

circa 7 anni fa

Risolto

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

circa 7 anni fa

Risolto

Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

circa 7 anni fa

Risolto

Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The *values of B are in the s...

circa 7 anni fa

Risolto

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

circa 7 anni fa

Risolto

Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

circa 7 anni fa