Resuelto


Must be in the front row...
You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...

alrededor de 8 años hace

Resuelto


Decimation
When dealing to the Roman Army, the term decimate meant that the entire unit would be broken up into groups of ten soldiers, and...

alrededor de 8 años hace

Resuelto


function to compute root mean square of first nn positive odd integers
Write a function called odd_rms that returns orms, which is the square root of the mean of the squares of the first nn positive ...

alrededor de 8 años hace

Resuelto


Concatenate string with cell array of strings
Given a cell array of strings (a), a target string (b), and a target position (ind), return a cell array of strings (c) in which...

alrededor de 8 años hace

Resuelto


Legend of Zelda - Rupee Count (Item Purchase)
Building off of <https://www.mathworks.com/matlabcentral/cody/problems/3025-zelda-rupee-count Problem 3025>, suppose that an arr...

alrededor de 8 años hace

Resuelto


Day counter function
Write a function called _day_counter_ that returns the number of Mondays that fell on the first day of the month in a given year...

alrededor de 8 años hace

Resuelto


World Cup 2018 Prediction!
Which team will be the winner?

alrededor de 8 años hace

Resuelto


Find the longest match inside two strings
Given two strings, find the longest string which is contained within both strings. e.g. the longest string that is contained ...

alrededor de 8 años hace

Resuelto


Calculator spelling - Numbers to Letters
Using the numbers on a calculator, and rotating the display 180 degrees, many words can be spelled. In particular, the following...

alrededor de 8 años hace

Resuelto


Calculator spelling - Letters to Numbers
Using the numbers on a calculator, and rotating the display 180 degrees, many words can be spelled. In particular, the following...

alrededor de 8 años hace

Resuelto


Legend of Zelda - Rupee Count (Compact)
Building off of <https://www.mathworks.com/matlabcentral/cody/problems/3025-zelda-rupee-count Problem 3025>, suppose that Link's...

alrededor de 8 años hace

Resuelto


Legend of Zelda - Rupee Count
Rupees are the main currency in The Legend of Zelda games. The value of each rupee is determined by its color. Unfortunately, th...

alrededor de 8 años hace

Resuelto


Cat, Meowcat and Concatenation
Input is a cell array containing several strings. Find the largest continuous sub-string common to all strings. All strings are ...

alrededor de 8 años hace

Resuelto


Genome decoding
Inspired by a question on the answer forum: You are given a matrix of 8-bit integers which encodes a genome. Each integer can...

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


Find the outcast
All pairs have the same difference except for one. Output the index of the latter Example: input =[0 1; 1 0; ...

alrededor de 8 años hace

Resuelto


Primes Checker
Given variable inputs Check if they are prime numbers

alrededor de 8 años hace

Resuelto


Encode Me From The Past
Given this input x = 2, 5, 1, 2, 4, 1, 1, 3 output should be (Five 2's, Two 1's, One 4, Three 1's) [2 2 2 2 2 1 1 4 1...

alrededor de 8 años hace

Resuelto


Recursion at variable input
input of any length a =2 b =2 c =3 output = (a^b)^c = 64

alrededor de 8 años hace

Resuelto


Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


Modified run-length companion vector
Given a vector x, return a vector that indicates the run length of any value in x. Each element in output vector shows how many ...

alrededor de 8 años hace

Resuelto


Create sine function out of cosine
Please don't use sin(x) directly

alrededor de 8 años hace

Resuelto


Check if a rotated array was originally sorted
Suppose a sorted array is rotated at some pivot unknown to you. For example, |[0 1 2 4 5 6 7]| might become |[5 6 7 0 1 2 4]|. ...

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

alrededor de 8 años hace

Resuelto


Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

alrededor de 8 años hace

Resuelto


convert the number to binary format & count digits
Convert the given number to the corresponding binary format and count the number of digits in that binary number

alrededor de 8 años hace

Resuelto


subtraction of two nos
given a and b, subtract and give the answer

alrededor de 8 años hace

Resuelto


Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

alrededor de 8 años hace

Cargar más