Resuelto


Filled Diamond Pattern
Create an N×N binary matrix that forms a filled diamond shape centered in the matrix. The diamond expands symmetrically toward t...

alrededor de 1 mes hace

Resuelto


Make a diamond
Given n, odd number > 1, return n by n matrix consist of "null" and "*" characters arranged like a diamond. No toolbox funct...

alrededor de 1 mes hace

Resuelto


Some Assembly Required
The input to this function is a matrix of real numbers. Your job is to assemble the rows of the matrix into one large row that ...

alrededor de 1 mes hace

Resuelto


Divisible by n, Composite Divisors
Pursuant to <http://www.mathworks.com/matlabcentral/cody/problems/42453-divisible-by-n-prime-vs-composite-divisors Divisible by ...

alrededor de 1 mes hace

Resuelto


Divisible by n, Truncated-number Divisors
Some divisors only require a few numbers at the end of the number in question to determine divisibility, no matter how long. Exa...

alrededor de 1 mes hace

Resuelto


Divisible by n, prime divisors from 20 to 200
Pursuant to the previous problem (linked below), this problem requires a function that checks for divisibility of large numbers ...

alrededor de 1 mes hace

Resuelto


Divisible by n, prime divisors - 11, 13, 17, & 19
Divisibility checks against prime numbers can all be accomplished with the same routine, applied recursively, consisting of add ...

alrededor de 1 mes hace

Resuelto


Problem Set 2
Make a calculator by the four main operators (op): + - * / And the two numbers (n1, n2). Don't forget to check to divisio...

alrededor de 1 mes hace

Resuelto


Problem Set 1
You will get the vector "v", you should put it's length in a variable called "lngth", then... If it's length from 1 to 5, sz = ...

alrededor de 1 mes hace

Resuelto


Switch-Case-Otherwise
You should make random numbers to 10, by 3 rows and 3 columns. Cases from 1 to 3, b = true. Otherwise, b = false.

alrededor de 1 mes hace

Resuelto


NOT
If a not equal to zero, b = true, else, b = false.

alrededor de 1 mes hace

Resuelto


OR
If a greater than zero or c less than 10, b = true, else, b = false.

alrededor de 1 mes hace

Resuelto


AND
If a greater than 0 and n less than 10, b = true, else, b = false. (Checking a should be in one line by AND special sign in MAT...

alrededor de 1 mes hace

Resuelto


Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.

alrededor de 1 mes hace

Resuelto


If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.

alrededor de 1 mes hace

Resuelto


If-Else
If a more than zero, b = true, else, b = false.

alrededor de 1 mes hace

Resuelto


If
If a more than zero, then b = true.

alrededor de 1 mes hace

Resuelto


Find the logic and return the nth number (plus)
This problem is the harder version of Problem 61015 given a sequence of numbers arranged in the following order: A=0,1,3,4,9,1...

alrededor de 2 meses hace

Resuelto


find the nth number (plus)
this problem is the harder version of Problem 61014. The numbers 2 and 7 are called lucky numbers, an integer containing only t...

alrededor de 2 meses hace

Resuelto


Sieve of Eratosthenes - 02
"Sift the Two's and Sift the Three's, The Sieve of Eratosthenes. When the multiples sublime, The numbers that remain a...

alrededor de 2 meses hace

Resuelto


Decimation - Optimized for speed
This problem is similar to http://www.mathworks.com/matlabcentral/cody/problems/1092-decimation, only this time the score will b...

alrededor de 2 meses 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 2 meses hace

Resuelto


Project Euler: Problem 18, Maximum path sum I
By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bott...

alrededor de 2 meses hace

Resuelto


Project Euler: Problem 11, Largest product in a grid
What is the greatest product of k adjacent numbers in the same direction (up, down, left, right, or diagonally) in a n×n grid ? ...

alrededor de 2 meses hace

Resuelto


Give me Hamming on five, hold the mayo
A Hamming Number is a positive number that has no prime factor greater than 5. Given a number X, determine how many Hamming num...

alrededor de 2 meses hace

Resuelto


Find Pseudo-Cyclic Number
A cyclic number is an integer in which cyclic permutations of the digits are successive multiples of the number https://en.wikip...

alrededor de 2 meses hace

Resuelto


Approximate e
Given a and n, compute and approximation to f = a * e ^ n, without the use of exp, string operations, or floating point numbers....

alrededor de 2 meses hace

Resuelto


Calculate load on arm 1
A robot is designed with a motor directly attached at the pivot point of the lifting arm. The L inch arm has a weight of W1 lbs...

alrededor de 2 meses hace

Resuelto


Basic Mathematics 2
If a 4’ x 8’ sheet of ½” plywood weighs W lbs and you cut an L” x L” robot base from this material, approximately how much weigh...

alrededor de 2 meses hace

Resuelto


Basic Mathematics 1
If a robot is traveling on a north heading at v1 inches per second and has the ability to only make N degree changes in directio...

alrededor de 2 meses hace

Cargar más