Community Profile

# Alberto Comin

##### Last seen: 6 maanden ago
199 total contributions since 2015

View details...

Contributions in
View by

Submitted

albeco/LaserPulse
LaserPulse is a Matlab class for simulations in nonlinear and ultrafast optics.

Solved

Derivative function
Given a function handle f, generate a function that evaluates the derivative of f Examples: f = @sin; df = De...

ongeveer een jaar ago

Submitted

NeurNetRegr
Simple Neural Network with fully connected layers for regression analysis.

Solved

Is it really a 5?
A number containing at least one five will be passed to your function, which must return true or false depending upon whether th...

meer dan 3 jaar ago

Solved

Spot the First Occurrence of 5
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

meer dan 3 jaar ago

Solved

Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

meer dan 3 jaar ago

Solved

Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

meer dan 3 jaar ago

Solved

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

meer dan 3 jaar ago

Solved

5 Prime Numbers
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

meer dan 3 jaar ago

Solved

Basic electricity in a dry situation
This is a very hypothetical situation between two individuals in a very dry atmosphere. He came running in rubber boots when...

meer dan 3 jaar ago

Solved

Energy of a photon
Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

meer dan 3 jaar ago

Solved

How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

meer dan 3 jaar ago

Submitted

Submitted

BFPdemo
Simulation of back-focal plane imaging

Solved

Raise a polynomial to a power
In Matlab, polynomials are represented by a vector of coefficients. For example, the polynomial p=a*x^2 + b*x + c is represente...

ongeveer 5 jaar ago

Solved

Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...

ongeveer 5 jaar ago

Solved

Is 3D point set Co-Planar?
This Challenge is to determine if four 3D integer points are co-planar. Given a 4x3 matrix representing four x,y,z integer poin...

ongeveer 5 jaar ago

Solved

Find the next square number
Given one or more integers n, find the next integer that is a square, for each of them. Example 1: n = 1; out = 4; ...

ongeveer 5 jaar ago

Solved

Fill the matrix - 1
Input is a column vector and n. n columns will be added to the left of the input column. The first value of the row is the s...

ongeveer 5 jaar ago

Solved

Find the gcm of n given values
Create a function that given n integer values greater than zero, finds the two numbers with the greatest common divisor and retu...

ongeveer 5 jaar ago

Solved

Generate a Parasitic Number
This problem is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/156-parasitic-numbers Problem 156>. ...

ongeveer 5 jaar ago

Solved

Generalised Hamming Number
Inspired by Project Euler n°204 and Problem 1308 by James A generalised Hamming number of type n, has no prime factor larger ...

ongeveer 5 jaar ago

Solved

Find vampire numbers
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such th...

ongeveer 5 jaar ago

Solved

Odd elimination
Inspired by Project Euler problem #539 You'll be given a vector from 1 to n; Going from left to right, remove the first n...

ongeveer 5 jaar ago

Solved

Polite numbers. Politeness.
A polite number is an integer that sums of two or more consecutive positive integers. Politeness of a positive integer is a num...

ongeveer 5 jaar ago

Problem

Convert float to base N
The matlab function dec2base converts a positive integer number to a specified base. Extend it so that it works with non intege...

ongeveer 5 jaar ago | 1 | 14 solvers

Problem

Convert integer to base26 using letters
Write a function that converts a decimal integer to base26 using the letters of the english alphabet, i.e. 0->'a', 1->'b', 2->'c...

ongeveer 5 jaar ago | 3 | 27 solvers

Solved

Bell Number calculator
Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...

ongeveer 5 jaar ago

Solved

N-th Odious
Given index n return n-th <https://oeis.org/A000069 odious number>.

ongeveer 5 jaar ago

Solved

nth Rational Number
Return the nth rational number. This is the inverse to Problem <http://www.mathworks.com/matlabcentral/cody/problems/1471 1...

ongeveer 5 jaar ago