Solved

Number Power
Raise a number to itself.

1 year ago

Solved

Cube root of max value in a vector
Find the cube root of the maximum value in a vector

1 year ago

Solved

Testing Problem Creation
This is where MATLAB based question will be

1 year ago

Solved

Determine the number of correct and incorrect answers
In a Multiple Choice Question Test, you are to sort out answer from 4 samples, one of them is correct answer. There are 50 quest...

1 year ago

Solved

Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

1 year ago

Solved

Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

1 year ago

Solved

Archimedes principle
According to Archimedes principle, the buoyancy force is equal to the weight of fluid displaced by the submerged portion of an o...

1 year ago

Solved

Non trivial identities - reshape
Return x by reshaping it.

1 year ago

Solved

Find the outlier in a set of samples
Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

1 year ago

Solved

Non trivial identities - flipping
Return x by flipping it.

1 year ago

Solved

basic matrix operations: rotate and find sum of diagonal elements of the resultant matrix
For given input matrix a, rotate it by 90 degrees and find the sum of the diagonals. Example: Input: a = 1 ...

1 year ago

Solved

Reverse the Matrix
Given a Matrix A, reverse it. Such that, last element of A becomes 1st and vice versa. for example: Input = [1 2 3;4 5 ...

1 year ago

Solved

find number of times of occurrence of the most frequent number in a row vector
In a given row vector, find the number of times a mode of a row vector has occurred example: in [2 5 5 5 5 3], output is 4 ...

1 year ago

Solved

Non trivial identities - summation
Return x by adding a random number to it.

1 year ago

Solved

Second Diagonal
Transpose the matrix from it's second diagonal.

1 year ago

Solved

find the 'M'
for an input x, return 1 at the location of the letter 'M'

1 year ago

Solved

surface of parallelogram
Given 2 vectors of each 3 elements, determine the surface of the parallelogram which can be created from these 2 vectors.

1 year ago

Solved

Xor of matrix
you have to set exclusive OR of two arrays

1 year ago

Solved

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

1 year ago

Solved

iteration of N blank spot
we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- bl...

1 year ago

Solved

Determine given vector is even or odd
Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

1 year ago

Solved

Phoneword Translator
Given an alphanumeric telephone number (Ex. 1-800-COLLECT), return the purely numeric phone number as a vector. This problem use...

1 year ago

Solved

How many solutions has this problem?
Guess, predict or calculate :-) (You will be scored by the accuracy). Update: <http://www.mathworks.co.uk/matlabcent...

1 year ago

Solved

Calculate value of capacitor
Given the value of resistance and time at which capacitor charges to it's 99%. calculate the value of capacitor

1 year 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.

1 year ago

Solved

Solve t^(a*x^2+b*x+c)=s
Solve t^(a*x^2+b*x+c)=s. Return x vector as result. Example a=1, b=2, c=1, t=3, s=15. Result x(1)= 0.5700 x(2)=-2.5700 H...

1 year ago

Solved

Find the next square number
Given one or more integers n, find the next integer that is a square, for each of them. Example 1: n = 1; out = 4; ...

1 year ago

Solved

Determine if given number is perfect
A number is <http://en.wikipedia.org/wiki/Perfect_number perfect> if it is equal to the sum of its factors, excluding itself. ...

1 year ago

Solved

Separate even from odd numbers in a vector - without loops
*Without using loops*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the...

1 year ago

Solved

Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

1 year ago