Feeds
질문
Speed up algorithm and memory issues
Hi everyone, I am trying to do the following computations but my matrices are very large (over 6.000.000 lines) and as you can...
3개월 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
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...
3년 초과 전
질문
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...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
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 ...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
7년 초과 전 | 답변 수: 4 | 1
4
답변질문
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...
8년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Add values to the bars of a barplot
Hi Star, Yes, it works and its perfect. Thank you!
Add values to the bars of a barplot
Hi Star, Yes, it works and its perfect. Thank you!
8년 초과 전 | 0
질문
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 ...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 9년 전 | 답변 수: 0 | 0
0
답변답변 있음
equate the parameters of two equations in symbolic
Hi Star Strider, the coeffs function was what I was looking for! Thank you!
equate the parameters of two equations in symbolic
Hi Star Strider, the coeffs function was what I was looking for! Thank you!
9년 초과 전 | 0
질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
대략 10년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
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...
대략 11년 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
대략 11년 전
문제를 풀었습니다
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...
대략 11년 전
문제를 풀었습니다
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:...
대략 11년 전
문제를 풀었습니다
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 ...
대략 11년 전