Solved


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

6 months ago

Solved


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

6 months ago

Solved


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

6 months 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...

6 months ago

Solved


Create cosine function out of sine
Please dont use cos(x) directly

6 months ago

Solved


Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0. Use matrix A as a input.

6 months ago

Solved


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

6 months ago

Solved


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

6 months ago

Solved


Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

6 months 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...

6 months ago

Solved


Find the Pattern 1

6 months ago

Solved


Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

6 months ago

Solved


Log of a number
Write a script that will give the log of x as output.

6 months ago

Solved


03 - Matrix Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3b.png>> A 9x9 matrix of zeros, but with the following v...

6 months ago

Solved


Raise each element to the power of its index in a matrix
In a matrix, A = [1,2;3,4] raise the power of each element like: 1^1+2^3+3^2+4^4 and add it all to produce the result 274

6 months ago

Solved


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

6 months ago

Solved


Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

6 months ago

Solved


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

6 months ago

Solved


Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

6 months ago

Solved


string comparision
compare two strings if both are same return 1 else return 0

6 months ago

Solved


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

6 months ago

Solved


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

6 months ago

Solved


ascii value
let input='a' output=97

6 months ago

Solved


MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

6 months ago

Solved


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

6 months ago

Solved


y equals x divided by 2
function y = x/2

6 months ago

Solved


Check if a number belongs in the fibonacci squence
Test if integer i is a number in the fibonacci sequence. Return true if it is.

6 months ago

Solved


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

6 months ago

Solved


Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

6 months ago

Solved


Will there be a new leader?
Simply answer the title.

6 months ago

Load more