Community Profile # Marco Castelli

### Politecnico di Milano

Last seen: etwa 2 Monate vor Aktiv seit 2012

Professional Interests: Civil and Structural Engineer

#### Statistiken

All
• • • • • • • • • • • • Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Gelöst

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

4 Monate vor

Gelöst

Parasitic numbers
Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

4 Monate vor

Gelöst

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

4 Monate vor

Gelöst

Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

4 Monate vor

Gelöst

Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

4 Monate vor

Gelöst

String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

4 Monate vor

Gelöst

Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

4 Monate vor

Gelöst

Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

4 Monate vor

Gelöst

Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...

4 Monate vor

Gelöst

Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

4 Monate vor

Gelöst

Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

4 Monate vor

Gelöst

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

4 Monate vor

Gelöst

MATLAB Basic: rounding IV

4 Monate vor

Gelöst

MATLAB Basic: rounding III

4 Monate vor

Gelöst

MATLAB Basic: rounding II

4 Monate vor

Gelöst

Put two time series onto the same time basis
Use interpolation to align two time series onto the same time vector. This is a problem that comes up in <http://www.mathwork...

4 Monate vor

Gelöst

Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching through thi...

4 Monate vor

Gelöst

Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?

4 Monate vor

Gelöst

Sum of series VIII

4 Monate vor

Gelöst

Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

4 Monate vor

Gelöst

Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

4 Monate vor

Gelöst

Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

4 Monate vor

Gelöst

Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

4 Monate vor

Gelöst

Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

4 Monate vor

Gelöst

Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

4 Monate vor

Gelöst

Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

4 Monate vor

Gelöst

Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

4 Monate vor

Gelöst

Calculate Wind Chill Factor
The NWS Wind Chill Temperature (WCT) index formula for calculating the dangers from winter winds and freezing temperatures: Cal...

4 Monate vor

Gelöst

Snow Accumulation and Structural Risks To Residential Properties
The density of snow depends on the amount of liquid water it contains: Dry Snow is about 50 kg/m^3 Wet Snow is about 200 kg/m^...

4 Monate vor

Gelöst

Convert Volume Mixing Ratio to Density
The partial pressure of a constituent gas species of the atmosphere can be expressed in parts per million by volume. For exampl...

4 Monate vor