Community Profile

mklcst mklcst


Università of Verona

40 total contributions since 2009

Contact

Contributions in
View by

Answered
double indexing
I think it could be very useful to have a short way to perform double indexing.

3 years ago | 0

Responded


Re: unique - logical indexing
I did in this way but I would like to know if it exists a better way: [~,ia] = unique(A); isun2 = zeros(length(A),1); isun2(isu...

3 years ago | 916 views

Posted


unique - logical indexing
Hi, suppose I have this column vector: A = [1 2 3 3 4 5 6 7 7 8 9]' If I use unique I get: [C, ia] = unique(A); where ia is a...

3 years ago | 916 views

Question


ga optimization -> integer parameters with a constrain
Hi, I am performing a ga optimization with integer parameters. I need to impose that the parameters of the optimization are not...

4 years ago | 1 Answers | 1

1

answer

Question


nonlcon : Too many input arguments.
Hi everybody, I have a problem with non linear constraints in fmincon. I get this error "Too many input arguments". The nonlc...

4 years ago | 1 Answers | 0

1

answer

Responded


Re: voice recognition, matlab coding
Thank you so much mklcst@gmail.com

4 years ago | 35575 views

Responded


Re: Plot date labels
Bruno maybe you enlightened me, so if xData is my "t" (as in your example) if I code: set(gca,'xtick',xData([1,50,100,150,300,en...

4 years ago | 6095 views

Responded


Re: Plot date labels
I don't understand if I have to build manually the vector of dates.

4 years ago | 6095 views

Responded


Re: Plot date labels
ok, I get it. What about if I want to increase the number of displayed labels?

4 years ago | 6095 views

Responded


Re: Plot date labels
Yes I use: datetick(xData,'mmm-yy','keeplimit'); where xData is a datenum vector. The problem is that I see in the plot the x-ax...

4 years ago | 6095 views

Responded


Re: Plot date labels
My dates vector in in datenum, the problem is that if I set the gca Thr plot is overlapped... I searched on DOC and also I googl...

4 years ago | 6095 views

Responded


Re: Plot date labels
Thank you Justin. But I don't see the label in date format as 'mmm-yy' but in numeric one. If I set "set(gca,'XTick',x)" I see a...

4 years ago | 6095 views

Posted


Plot date labels
Hi everybody, I have a 2 column matrix to plot, one with the dates in number and the other column with the values. My problem is...

4 years ago | 6095 views

Question


How to plot date labels on x axis?
Hi everybody, I have a 2 column matrix to plot, one with the dates in number and the other column with the values. My problem i...

4 years ago | 1 Answers | 0

1

answer

Responded


Re: Accessing Non-Excel Libre Spreadsheet from MATLAB
I think it's time for Matlab to fully support libreoffice (or OpenOffice or whatelse). A part for the office license, it would ...

4 years ago | 8290 views

Answered
Parallel Toolbox: some doubts
2) ok, there is an other way to speed up fminsearch?

5 years ago | 0

Question


Parallel Toolbox: some doubts
Hi everybody, I'm starting to use parallel computing in Matlab in order to speed up my computation. First I want optimize my co...

5 years ago | 2 Answers | 0

2

answers

Responded


Re: if cycle with abs value: something wrong?
Should I try with an epsilon=1e-05? if abs(beta) - epsilon < alpha else end

5 years ago | 910 views

Posted


if cycle with abs value: something wrong?
alpha and beta are dynamic variable, in this cycle if abs(beta) < alpha else end when alpha = .2 and beta = .2 - the same - it...

5 years ago | 910 views

Responded


Re: constrained n weights with a given variation
Nobody can help me? This is the code for 5, how can I generalize it to n? delta=0.04; w=[]; for c=0:delta:1 end end

6 years ago | 931 views

Responded


Re: constrained n weights with a given variation
This is an example for 4 assets. delta=0.1; w1=[];w2=[];w3=[];w4=[]; for i=1:n for c=0:delta:1 end end end w=[w1;w2;w3;w4];

6 years ago | 931 views

Posted


constrained n weights with a given variation
Hello everybody, my problem: Suppose I have n assets and I want to realize a number of x portfolios which have asset weights t...

6 years ago | 931 views

Responded


Re: Create a dataset with different time series
Ok, I solved but I have problem with vectors of dates that come out alphabetically order: Date A AA ....

6 years ago | 3904 views

Responded


Re: Create a dataset with different time series
Ok, I built my dataset but I have a problem with the join function when I use the date vector.. ??? Error using ==> dataset.joi...

6 years ago | 3904 views

Responded


Re: Create a dataset with different time series
Dear Richard, thank you very much, only one question: When I define the first dataset that contains dates, this dataset must be ...

6 years ago | 3904 views

Responded


Re: Create a dataset with different time series
You're righ, in fact I will use weekly or monthly data... I'd like to use daily but I have mismatch with yahoo, some series have...

6 years ago | 3904 views

Responded


Re: Create a dataset with different time series
Thank you, can you explain what you with this operation? data.open and data.close are price not date

6 years ago | 3904 views

Responded


Re: Create a dataset with different time series
I have a structure data(i) , that contains: - date - open - close - adj - volume

6 years ago | 3904 views

Posted


Create a dataset with different time series
Hi, I have time series of different data length, it is possible to match them in a dataset? For example, Serie A: from 4/12/20...

6 years ago | 3904 views

Posted


X is rank deficient to within machine precision.
Hi everybody, I'm doing regression on my y with x serie with 15 lag, so I have 17 column (const+1+15) in my x. When I start the ...

7 years ago | 20982 views

Load more