Solved

Calculate the derivative of a polynomial

Example: in = [ 1 1 1 ] out = [ 2 1 ]

casi 8 años ago

Solved

Add two numbers

Calculate the sum of two numbers. Example input = [2 3] output = 5

casi 8 años ago

Solved

Replace multiples of 5 with NaN

It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

casi 8 años ago

Solved

Number of 1s in the Binary Representation of a Number

*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...

casi 8 años ago

Solved

Derivative of polynomial

Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

casi 8 años ago

Solved

Number of 1s in a binary string

Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

casi 8 años ago

Solved

Rotate a Matrix

Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

casi 8 años ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

casi 8 años ago

Solved

Arrange vector in ascending order

Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

casi 8 años ago

Problem

Find supported functions

Given a function name, return true if that function is supported by the toolboxes that are installed with MATLAB on this machine...

casi 8 años ago | 1 | 38 solvers

Question

Has anybody tried the MATLAB certification by BrainMeasures?

Recently I found MATLAB certification provided by BrainMeasures.com Has anybody appeared for it? ANy feedbacks on it?

casi 8 años ago | 2 answers | 0

Solved

Find and replace the zero array in a matrix

Find the zero array in the matrix and replace it with average of surrounding (adjacent) arrays. Example: A = 3 ...

casi 8 años ago

Solved

Avalaible area: wall construction

You need to build a wall to enclose a certain area. Calculate the available area after you build the wall. Assumptions * ...

casi 8 años ago

Solved

Compare two input matrices

Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

casi 8 años ago

Solved

surface of a spherical planet

you just discovered its circumference, that is the input.

casi 8 años ago

Solved

Given a number find two variables

If the input is *x*, find *a* and *b* from the following equation: *x = a*2^b*. Hint: *b* is an integer while *x* and *a* ar...

casi 8 años ago

Solved

Sum the 'edge' values of a matrix

Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

casi 8 años ago

Solved

Fahrenheit to Celsius using multiple statements

Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

casi 8 años ago

Solved

Counting in Finnish

Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

casi 8 años ago

Solved

Bullseye Matrix

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

casi 8 años ago

Solved

Read a column of numbers and interpolate missing data

Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

casi 8 años ago

Solved

Column norms of a matrix

Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

casi 8 años ago

Solved

calculate linear convolution two vectors

for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

casi 8 años ago

Solved

Solve the set of simultaneous linear equations

Given this pair of simultaneous linear equations: 2x + 3y = 23 3x + 4y = 32 Find the solution set (x,y)

casi 8 años ago

Solved

Replace NaNs with the number that appears to its left in the row.

Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

casi 8 años ago

Solved

Trimming Spaces

Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

casi 8 años ago

Solved

Extract leading non-zero digit

<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

casi 8 años ago

Solved

Compute a dot product of two vectors x and y

x and y are input vectors, d is a number and contains their dot product

casi 8 años ago