Community Profile

photo

PurpleDiab


hhh

Last seen: 5 meses hace Con actividad desde 2016

Estadísticas

  • Cody5 Easy Master
  • Matrix Patterns I Master
  • Computational Geometry I Master
  • Scholar
  • Tiles Challenge Master
  • Indexing I Master
  • Indexing II Master
  • ASEE Challenge Master
  • Solver

Ver insignias

Content Feed

Ver por

Resuelto


Convert from integer to binary
if true % decimalToBinaryVector(x) end

más de 1 año hace

Resuelto


Which Prime
Given two prime numbers, specify the relation between them i.e. - 'Twin Prime', 'Cousin Prime', 'Sexy Prime' or 'None'

más de 1 año hace

Resuelto


Unique - Very Very Large Numbers
Given a vector column, with some very large numbers, create the ascending sort and unique vector. *Input:* A (column vector)...

más de 1 año hace

Resuelto


Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

alrededor de 2 años hace

Resuelto


Convert a vector of Integers into a matrix of binaries
Convert a vector of positive integers into a matrix containing their binary representation. Each column of the output contains t...

alrededor de 2 años hace

Resuelto


Find offset of an element of a multi dimensional matrix
For a given multi dimensional matrix and given element, find its offset from the 1st element. Return 0, if element is not fo...

alrededor de 2 años hace

Resuelto


Find Logic 9

más de 2 años hace

Resuelto


Find Logic 3

más de 2 años hace

Resuelto


Find Logic 13

más de 2 años hace

Resuelto


Find Logic 16

más de 2 años hace

Resuelto


Find Logic 1

más de 2 años hace

Resuelto


Summation of integers

más de 2 años hace

Resuelto


Output the sum of all the odd integers
Example: x = [ 1 2 3 4 5 6 7 8 9 ] y = 25

más de 2 años hace

Resuelto


Parallel vectors
Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...

más de 2 años hace

Resuelto


Set a Soroban Abacus
*Description* This problem is the inverse of <http://www.mathworks.com/matlabcentral/cody/problems/136-read-a-soroban-abacus ...

más de 2 años hace

Resuelto


imaginary results
Return the value of the imaginary number i to the power of input argument n.

más de 2 años hace

Resuelto


What's the missing interior angle?
I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

más de 2 años hace

Resuelto


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

alrededor de 3 años hace

Resuelto


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

alrededor de 3 años hace

Resuelto


Spherical Volume
Calculate the volume of a sphere.

alrededor de 3 años hace

Resuelto


Pi Estimate 2
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation2.pdf>

alrededor de 3 años hace

Resuelto


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

alrededor de 3 años hace

Resuelto


Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

alrededor de 3 años hace

Resuelto


Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...

alrededor de 3 años hace

Resuelto


Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

alrededor de 3 años hace

Resuelto


How brilliant are you?
A Brilliant number is defined as a number with two prime factors, both of which have the same number of digits. Some examples: ...

alrededor de 3 años hace

Resuelto


Highest powers in factorials
This is the inverse of the problem <https://www.mathworks.com/matlabcentral/cody/problems/44747 Exponents in Factorials>. Inste...

más de 3 años hace

Resuelto


Pseudo Square Root (Inspired by Project Euler 266)
Shamelessly copied from the Project Euler page for Problem 266: ------------- The divisors of 12 are: 1,2,3,4,6 and 12. T...

más de 3 años hace

Resuelto


Don't be mean. Be nice!
For this problem, you will be given a range of single digits R, and a separate number K. You job is to calculate the mean of al...

más de 3 años hace

Resuelto


Circular Primes (based on Project Euler, problem 35)
The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselves prime. The...

más de 3 años hace

Cargar más