Community Profile

Tommaso Belluzzo

Last seen: environ un an il y a Actif depuis 2017

Quantitative Engineer

Programming Languages:
Python, C++, Java, C#, PHP, Javascript, R, MATLAB, SQL, HTML, CSS
Spoken Languages:
English, French, Italian, Mandarin

All

Content Feed

Afficher par

A résolu

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

environ un an il y a

A résolu

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

environ un an il y a

A résolu

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

environ un an il y a

A résolu

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

environ un an il y a

A résolu

Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

environ un an il y a

A résolu

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

environ un an il y a

A résolu

Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: \$99,999.99. E...

environ un an il y a

A résolu

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

environ un an il y a

A résolu

Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

environ un an il y a

A résolu

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

environ un an il y a

A résolu

Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

environ un an il y a

A résolu

Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

environ un an il y a

A résolu

Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

environ un an il y a

A résolu

Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

environ un an il y a

A résolu

Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

environ un an il y a

A résolu

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

environ un an il y a

A résolu

Given a and b, return the sum a+b in c.

environ un an il y a

A résolu

QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a standard U.S. QWERTY keyboard and it...

environ un an il y a

A résolu

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

environ un an il y a

A résolu

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

environ un an il y a

A résolu

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ un an il y a

A soumis

Systemic Risk
A framework for systemic risk valuation and analysis.

presque 2 ans il y a | 18 téléchargements |

A soumis

Table SQL
A script for performing SQL CRUD operations on Matlab tables.

plus de 2 ans il y a | 2 téléchargements |

Question

Cross-Entropy Minimization - Extreme Code Performance
I'm working on a multivariate cross-entropy minimization model (for more details about it, see this paper, pp. 32-33). It's purp...

plus de 2 ans il y a | 1 réponse | 0

0

réponse

A soumis

Historical Volatility
A framework for historical volatility estimation and analysis.

plus de 2 ans il y a | 1 téléchargement |

Question

FMINCON Linear Constraint Strictly Greater/Less Than
Hi all, I need some help to correctly build two linear constraints to be used in FMINCON (SQP algorithm). My system has 4 param...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question

Loopin Matrix Multiplication Performance Improvement
Hi all! I'm struggling to reduce computation time on a function I created: function [beta,covariance,residuals] = hac_regressio...

plus de 2 ans il y a | 1 réponse | 0

0

réponse

Question

Group Constraints for FMINCON
Hi all! I'm writing a model that needs to minimize 6 variables through FMINCON: o, a, b, w, kappa, gamma. The variable options i...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question

Vectorization of Loops with Matrix Multiplications
Hi all. I have the following code which is being repeated many times with different time series and this is producing a huge bot...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question

How can I improve this plot?
Hi all! I'm asking a little but of support for solving a small issue concerning the following plot: I would like to improve i...

plus de 2 ans il y a | 1 réponse | 0

réponse