Gelöst


Crate a vector of logarithmically spaced
Create a vector of logarithmically spaced from 10^0 to 10^x with n sample Example: if x=4 and n=3 Answer must be=[1 100 10...

mehr als 5 Jahre vor

Gelöst


Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...

mehr als 5 Jahre vor

Gelöst


calculate Compound Intrest
Calculate Compound Intrest for given data

mehr als 5 Jahre vor

Gelöst


Falling on the Moon.

mehr als 5 Jahre vor

Gelöst


Ohm's Law
Well its Ohm's law... So V = IR! I will give two of the three values, such as V and I or I and R and you have to return th...

mehr als 5 Jahre vor

Gelöst


Place numbers
Given two input first input is a matrix which consist of the index numbers of the second input vector. You place the second inpu...

mehr als 5 Jahre vor

Gelöst


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

mehr als 5 Jahre vor

Gelöst


Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

mehr als 5 Jahre vor

Gelöst


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

mehr als 5 Jahre vor

Gelöst


Red Cross ❌

mehr als 5 Jahre vor

Gelöst


Projector Matrix
Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.

mehr als 5 Jahre vor

Gelöst


Ackerman Function

mehr als 5 Jahre vor

Gelöst


Can the given sides form a triangle?
Can the three given sides form a triangle?

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


'Determine if array of numbers is odd'
Return true if the input single number is odd. If the input is a vector, it will return a vector or array of logical values indi...

mehr als 5 Jahre vor

Gelöst


The average of the second largest values
Given a matrix, find the average of the second largest values in each row. The same value does not exist on a row. Example: ...

mehr als 5 Jahre vor

Gelöst


Adding Cells with numbers defined as strings
Given a cell, with strings representing numbers, add each value. For example: a = {'9','33'}; the output should be: ...

mehr als 5 Jahre vor

Gelöst


Prime Letters = Removing
Given a string, remove all the letters which in ASCII Code are prime numbers. For Example: s1 = 'Determine which array e...

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

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]

mehr als 5 Jahre vor

Gelöst


Create tangent function out of sin and cos
Please don't use tan(x) directly

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Parasitic numbers
Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

mehr als 5 Jahre vor

Gelöst


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

mehr als 5 Jahre vor

Gelöst


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

mehr als 5 Jahre vor

Gelöst


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

mehr als 5 Jahre vor

Gelöst


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.

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Calculate the area of a circle
Given a circle of diameter x calculate its area

mehr als 5 Jahre vor

Mehr laden