Community Profile

photo

Daniele Certini


The University of Edinburgh

Last seen: 6 meses hace Con actividad desde 2020

PhD student in Engineering.

Spoken Languages:
Italian

Estadísticas

  • Treasure Hunt Participant
  • Cody Problems in Japanese Master
  • Draw Letters
  • Speed Demon
  • Creator
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Commenter
  • Promoter
  • Solver

Ver insignias

Content Feed

Ver por

Resuelto


Numbers with prime factors 2, 3 and 5.
Make a function which takes one positive integer n and returns a matrix with the numbers of the form (2^i)*(3^j)*(5^k) which are...

alrededor de 2 años hace

Resuelto


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

alrededor de 2 años hace

Resuelto


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

más de 2 años hace

Resuelto


Draw a '4' in a zero matrix!

más de 2 años hace

Resuelto


Draw a '7' in a zero matrix!

más de 2 años hace

Resuelto


Draw a '6' in a zero matrix!

más de 2 años hace

Resuelto


Draw a '9' in a zero matrix!

más de 2 años hace

Resuelto


Draw a '8' in a zero matrix!

más de 2 años hace

Resuelto


Draw a '3' in a zero matrix!

más de 2 años hace

Resuelto


Draw a '5' in a zero matrix!

más de 2 años hace

Resuelto


Draw a '2' in a zero matrix!

más de 2 años hace

Resuelto


Draw a '1' in a zero matrix!

más de 2 años hace

Resuelto


Draw a '0' in a one matrix!

más de 2 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

más de 2 años hace

Resuelto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

más de 2 años hace

Resuelto


Find the max element of the array
Find the max element of the array

más de 2 años hace

Resuelto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

más de 2 años hace

Resuelto


to the 2 all elements
to the 2 all elements

más de 2 años hace

Resuelto


the average value of the elements
Calculate the average value of the elements in the array

más de 2 años hace

Resuelto


Double all elements in the array
Duplicate all elements in the array

más de 2 años hace

Resuelto


calculate the length of matrix
input 1 array, calculate the length

más de 2 años hace

Resuelto


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

más de 2 años hace

Resuelto


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

más de 2 años hace

Resuelto


Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

alrededor de 3 años hace

Resuelto


Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

alrededor de 3 años hace

Resuelto


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

alrededor de 3 años hace

Resuelto


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

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


Spherical Volume
Calculate the volume of a sphere.

alrededor de 3 años hace

Resuelto


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

alrededor de 3 años hace

Cargar más