# raffaele

Active since 2014

Followers: 0   Following: 0

Hello, my interest are financial engineering, econometrics, and whatever financial stuff has Matlab involved into!

All

#### Feeds

View by

Solved

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

8 years ago

Solved

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

8 years ago

Solved

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

8 years ago

Submitted

rolling window forecast
choose the best forecast of an AR(p) model, by comparing all AR(p) forecast with realized values

Submitted

simple forecast with AR model
forecast with iterative or direct methods, a general AR(p) model, choosing the best p with AIC algo

Submitted

De-trending variables algorithm
function that make all time series stationary, and return number of differencing for each one

Question

plot a function with a changing parameter
Hi everybody, I would like to plot the function y=a*x, with a=parameter. What I want is to plot y and x, and then, I don't know...

9 years ago | 1 answer | 0

### 1

Submitted

TSLS (variable input)
this function allows multiple input arguments for a TSLS regression

Question

variable inputs function and reiteration
Hi everyone, Is there a way to write a function with variable input and reiterated computations? for example, I have to write...

9 years ago | 1 answer | 0

### 1

Solved

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

9 years ago

Solved

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

9 years ago

Solved

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

9 years ago

Solved

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

9 years ago

Question

how do i obtain several output with a "function" function?
Hi everybody, I have a question. My goal is to write a function as the following function[beta] = myfunction (x,y) where beta ...

9 years ago | 2 answers | 0