Resuelto


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

más de 7 años hace

Resuelto


Remove the air bubbles from a vector
_*A reduced version of Problem 112*_ Given a column vector v, return a vector w in which all the zeros have "bubbled" to the ...

más de 7 años hace

Resuelto


Convert degrees to radians
Given input in degrees, output to radians

más de 7 años hace

Resuelto


Convert radians to degrees
Given input in radians, output to degrees

más de 7 años hace

Resuelto


Horizontal matrix sort
Given a matrix x with n rows and m columns, return a matrix y with n rows and 2m columns, such that every row in x is sorted fro...

más de 7 años hace

Resuelto


Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

más de 7 años hace

Resuelto


How many days in a month?
Return the number of days in a given month in 2017. If the input is not a valid month number, return -1. Examples: Input...

más de 7 años hace

Resuelto


Is X a Fibonacci Matrix?
In honor of Cleve's new blog and post: <http://blogs.mathworks.com/cleve/2012/06/03/fibonacci-matrices/> Is X a Fibonacci ...

casi 8 años hace

Resuelto


What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

casi 8 años hace

Resuelto


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

casi 8 años hace

Resuelto


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

casi 8 años hace

Resuelto


Perimeter of a quadrilateral
There are four cars starting at a point. The first car points north, the second one points east, the third one points south, an...

casi 8 años hace

Resuelto


Funny problems
Generate the following vector: if n=1 then q=1; elseif n=2 then q=[2 2 1]; elseif n=3 then q=[3 3 3 2 2 1]; ... end

casi 8 años hace

Resuelto


Normie Function (2)
Another _Normie Function_ defined as _f(n)= f(n-1)+f(n-2)+f(n-3)_ , *when n>3* and _1_ , *when n<=3*. *Find the nth term of this...

casi 8 años hace

Resuelto


Normie Function
So, I built a function and gave it a name- _Normie_. *Find the nth term of Normie function:* _f(n)= 1*f(n-1)+ 2*f(n-3)+ 3_ , *...

casi 8 años hace

Resuelto


Calculating the total earnings of a factory
The row vector, prods contains the number of various products manufactured per hour. The second row vector, prices holds values ...

casi 8 años hace

Resuelto


ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', th...

casi 8 años hace

Resuelto


Find the missing numbers.
Total *N* numbers are in the series of natural numbers ( *1,2,3,...,N* ). The input is an array (unsorted) of those natural num...

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


¡Busca el extremo!
Crea una función que calcule el extremo de una parábola (máximo o mínimo absoluto) cuyos datos son proporcionados por el usuario...

casi 8 años hace

Resuelto


Capitalized string operations
Convert the input sentence to upper case and replace all vowels with an underscore ('_')

casi 8 años hace

Resuelto


generate capital english alphabets
Based on the numeric input 'n', generate the capital english alphabet starting from A till the english alphabet at the 'n'th pos...

casi 8 años hace

Resuelto


Product of all elements in an array
Compute the product of all elements in an array.

casi 8 años hace

Resuelto


Check for keywords
If the entered string is a MATLAB keyword, return true else false

casi 8 años hace

Resuelto


Basic matlab numeric and string manipulations
If entered input (n) is _numeric_ , compute its *log to the base (n+2)* , if it is a _lower case_ alphabet, *convert it to i...

casi 8 años hace

Resuelto


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

casi 8 años hace

Resuelto


Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

alrededor de 8 años hace

Resuelto


An asteroid and a spacecraft
&#128640 Imagine a non-relativistic simple situation. Assume positions p0, p1, p2, and p3 are three dimensional Cartesian ...

más de 8 años hace

Cargar más