Community Profile

photo

Elric


Last seen: 3 months ago Active since 2013

Bio!

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Content Feed

View by

Solved


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

2 years ago

Question


How to run a custom function to gpu?
Hi everyone, I want to run a custom function in matlab. Actually, in this example is the gctest function from matlab, but I w...

3 years ago | 1 answer | 0

1

answer

Question


1) Speed up gctest function and 2) error when I have a large number of lags in gctest
Hi all, I have two problems related to the build in gctest function in Matlab. 1) I am trying to perform a Ganger causality t...

3 years ago | 0 answers | 0

0

answers

Question


L1-penalised lasso quantile regression
Hi everyone, I was wondering if there is a code for estimating a penalized lasso quantile regression as described in Belloni ...

4 years ago | 1 answer | 0

1

answer

Question


Smart and fast way to compute triple summation?
Hi all, I need to compute the following triple summation for different values of n for all s. <</matlabcentral/answers/upl...

6 years ago | 4 answers | 1

4

answers

Question


smart way for grouping condition
Hi all, I have a two column matrix, A. In the first column I store the values of years, e.g. 2011, 2012, etc., and in the sec...

7 years ago | 1 answer | 0

1

answer

Answered
Add values to the bars of a barplot
Hi Star, Yes, it works and its perfect. Thank you!

7 years ago | 0

Question


Add values to the bars of a barplot
I would like to add some additional values to a barplot. for example I have two vectors lets say b = [0.14 0.18 0.25 0.13 ...

7 years ago | 2 answers | 0

2

answers

Question


retrain neural networks and different forecasts
Dear all, Thank you in advance for your help. I have prepared the following script in order to train a NN and then use it ...

8 years ago | 1 answer | 0

1

answer

Question


Improve speed of indexing
Hello, I am trying to do a simple Monte Carlo simulation in a mean reverting AR(lags) model using the following code for...

8 years ago | 0 answers | 0

0

answers

Answered
equate the parameters of two equations in symbolic
Hi Star Strider, the coeffs function was what I was looking for! Thank you!

9 years ago | 0

Question


equate the parameters of two equations in symbolic
Hello, I have two equations, one with known parameters and one with unknown. I would like to ask for a simple way to solve th...

9 years ago | 2 answers | 0

2

answers

Question


Add current date when I save a file as a comment
Hi all, I would like to know if there is a way to add a comment line with the current date when I save a file (inside the fil...

9 years ago | 1 answer | 0

1

answer

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

10 years ago

Solved


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

10 years ago

Solved


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

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

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

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

10 years ago