Gelöst


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

10 Monate vor

Gelöst


Average of even-numbered columns
Given a vector, find the average of even-numbered columns. e.g x = [ 4 6 8 9 1 2 7 ] y = ( 6 + 9 + 2 ) / 3

10 Monate vor

Gelöst


Step up
For given input array, output a array with all elements step up by two

10 Monate vor

Gelöst


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

10 Monate vor

Gelöst


Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...

10 Monate vor

Gelöst


print 'Hello W0rld'

10 Monate vor

Gelöst


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

10 Monate vor

Gelöst


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

10 Monate vor

Gelöst


Roll the Dice!
Description Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. Example [x1,x2] = rollDice(...

10 Monate vor

Gelöst


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

10 Monate vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


number play

10 Monate vor

Gelöst


Function substitution (2)
Evaluate the function for the given values of the variables N and t

10 Monate vor

Gelöst


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

10 Monate vor

Gelöst


size

10 Monate vor

Gelöst


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

10 Monate vor

Gelöst


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

10 Monate vor

Gelöst


Simple Interest : Calculate time in years
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

10 Monate vor

Gelöst


Create tangent function out of sine function only
Please don't use cosine and tangent functions

10 Monate vor

Gelöst


imaginary

10 Monate vor

Gelöst


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


Volume of Cylindrical Shell

10 Monate vor

Gelöst


Output a vector which is table of 9
Output a vector which is table of 9

10 Monate vor

Mehr laden