Solved


Find the position of last minimum value in an integer array with numbers
If x = [2 6 4 9 -10 3 1 5 -10] then the output should be 9, because last minimum value (-10) lies at the 9th position.

9 years ago

Solved


Binary
Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

9 years ago

Solved


Negation the hard way
Write a function that has the following property: f(f(x)) = -x for any numeric array x. Note that there is no restriction on ...

9 years ago

Solved


The sum of individual numbers...
Well this one is taking a number and then summing the individual parts till you reach a value of 1, 2, 3, 4, 5, 6, 7, 8, 9, or 0...

9 years ago

Solved


Calculate the peak value of square wave
Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.

9 years ago

Solved


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

9 years ago

Solved


Saving MATLAB session to a file
How to save MATLAB session to a file?

9 years ago

Solved


Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

9 years ago

Solved


How do you make seven even?
Take away the s.

9 years ago

Solved


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

9 years ago

Solved


Wrap-around effect
In vector x of length n we define (n+1) position as going back to the first position (so called wrap-around effect). Can you ret...

9 years ago

Solved


Odd times 3
Given a input matrix x, multiply all odd values by 3. Even values remain the same. example: x = [1 2 3 4 5;... 6 7...

9 years ago

Solved


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

9 years ago

Solved


Pad zero between every adjacent values of the vector.
you are given a vector x. you have to make an output vector y with zeros padded between every adjacent values of x. e.g x: ...

9 years ago

Solved


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

9 years ago

Solved


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

9 years ago

Solved


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

9 years ago

Solved


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

9 years ago

Solved


Test if a number is numeric or not
Test if a number is numeric or not

9 years ago

Solved


Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...

9 years ago

Solved


Values in Array
How many values are in the array

9 years ago

Solved


Set x value to each even index of vector y.
Set x value to each even index of vector y.

9 years ago

Solved


How to Concatenate two strings?
How to Concatenate two strings?

9 years ago

Solved


Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

9 years ago

Solved


Translate German decimals to English decimals
The string 'x = [2,5; 5,5; 4,3];' should return 'y = [2.5; 5.5; 4.3];'

9 years ago

Solved


Frequency Analysis of Text
Frequency analysis is a common task in cryptoanalysis. It is essentially counting the occurrences of alphabets (regardless of ca...

9 years ago

Solved


Solve system of equation!
Given provided system of equation, and find x and y. System of equation can be expressed as each term's coefficient. For exam...

9 years ago

Solved


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

9 years ago

Solved


All odd - all even
All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

9 years ago

Solved


Odd times even numbers in a matrix
First count the number of odd numbers in x, then the number of even. Return their product. example: x = [1 2] One odd ...

9 years ago

Load more