Community Profile

photo

BdS


Last seen: 2 meses ago
48 total contributions since 2018

Contact

BdS's Badges

  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Question


Show Values on bar graph; above bar when positive values, below bar when positive values
Hi, with the code below I built a bar graph and inserted the values on each bar. xtips2 = b(1).XEndPoints; ytips2 = b(1).Y...

2 meses ago | 2 answers | 0

2

answers

Question


How to ignore NaN values in price2ret
Hi, Is there any efficient code to get from vector [99;NaN;100;102] the following result: [NaN;NaN;0.01010101;0.02] using the ...

3 meses ago | 0 answers | 0

0

answers

Question


Create Bar Charts with different bar colours with a legend
Hi, I would like to create a bar chart (not stacked) with different colour for each bar. But it should also include a legend (i...

3 meses ago | 1 answer | 0

1

answer

Question


Create Bar Charts with different number of groups for each iteration.
Hi, I would like to create for each iteration a bar chart. However, the number of groups changes by each iteration and I do not...

3 meses ago | 1 answer | 0

1

answer

Question


Download Data from Bloomberg Anywhere
Hi matlab help desk I am working at Homeoffice. On my laptop I have got Matlab. I would like to download data from bloomberg to...

3 meses ago | 0 answers | 0

0

answers

Answered
Removing all non NaN Values to a new matrix.
This is the function I would like to use https://www.mathworks.com/matlabcentral/fileexchange/32327-winsorising-data

5 meses ago | 0

Answered
Removing all non NaN Values to a new matrix.
I would like to apply the function winsorising on the elements with values only. The function winsorising accounts unfortunatell...

5 meses ago | 0

Question


Removing all non NaN Values to a new matrix.
Hi, I have got a 261x3733 double array temp with numbers and NaN. I would like to get in matrix a only the nonnan values. Cond...

5 meses ago | 3 answers | 0

3

answers

Question


How to efficiently winsorize a big matrix column wise.
Hi, I am looking for an efficient winsorization function / code. Matlab has been running the code below since 24h and it is not...

5 meses ago | 0 answers | 0

0

answers

Question


fixedEffects regression without intercept
Hi, I would like to compute the coefficients of a fixedEffects regression. Is it possible to estimate the cofficients withou...

5 meses ago | 0 answers | 0

0

answers

Question


Insert value for the last day of the year
Hi, enclosed you will find a 1044x1 datetime vector (weekly data). I would like to create a logical vector containing 1 for th...

5 meses ago | 1 answer | 0

1

answer

Question


Warning when opening a mat file
Hi, I have got a rather big mat file (870.04 MB) which I would like to open. I get the following worning: Warning: Variable...

5 meses ago | 1 answer | 0

1

answer

Question


Is it possible to restore a deleted mat file?
Hi I accidently deleted a mat file. Is it possible to restore it? thank you in advance for your ansers.

10 meses ago | 1 answer | 0

1

answer

Question


Unique rows of 2 cells with 2 columns each.
Hi I have got 2 cells with 2 columns each: IdxMembers(1636x2) IdxMembers2(1630x2) I am looking of the unique values of each ...

10 meses ago | 2 answers | 0

2

answers

Question


Transfer variables within function with different properties.
Hi, I wrote the following class code: classdef Copy_of_getPortRawData properties PortMembers Port...

10 meses ago | 1 answer | 0

1

answer

Question


Downloading data from bloomberg with object oriented programming.
Hi I would like to download Portfolio data from Bloomberg. Unfortunatelly, I get an error message: %%%%%%% Undefined functi...

10 meses ago | 0 answers | 0

0

answers

Question


Change order of columns in a matrix.
Hi there, I have got a 17x265 doube matrix with name weights. Each row has a sum of 100. I changed the order of columns with ...

10 meses ago | 0 answers | 0

0

answers

Answered
Bloomberg Connection / Date Format
The code is big and linked with other formulas. One needs Bloomberg connection The prices are in matlab stored. Excel was just...

11 meses ago | 0

Question


Bloomberg Connection / Date Format
Hi there, According to Bloomberg, when using the history (BDH) function in Excel, one gets different prices depending which tim...

11 meses ago | 1 answer | 0

1

answer

Question


Mapping 2 matrices with different number of columns.
Hi, I've got the following 2 matrices and 1 vector UniqFXRates 30x11 double (11 FX rates for 30 data points) InstrFXRates 30x...

12 meses ago | 1 answer | 0

1

answer

Question


"Go to" alternative
Hi I have got the following. But it does not do what I what: for f=1:4 for S=[3,4,7,11] Pf1(:,S)=Pf1BM1.allocati...

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


Delete rows in cell arrays
Hi, Have have got the following cell array: How can I delete the first row of the cell and add to each element in the first ...

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


Find the earliest common date and indicator of two date vectors.
Hi, I have got two date vectors: a=[28.02.2019;01.03.2019;04.03.2019;...] and b=[01.03.2019;04.03.2019;...] How to find the ea...

alrededor de 1 año ago | 2 answers | 0

2

answers

Question


Multiplication of 2 3d matrices
Hi, I have got 2 3d matrices: NormClassRetPf(dates,factors,classes) and TotWeightsPf(dates,factors,classes). nDates=51 nFacto...

alrededor de 1 año ago | 2 answers | 0

2

answers

Question


Assignment with 0 - Alternative
Hi everybody, I have got the following code: PortMembers=369x1 cell with ISINS GlData.instrISIN(:,1) = 1640x1 cell with ISIS ...

alrededor de 1 año ago | 0 answers | 0

0

answers

Question


Logicals with empty double column vectors
Hi I have got this code: a=Pf_ID; %--> 5x1cell b=magic(5); c=find(cellfun(@isempty,a)); ...

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


Dynamic struct names with strings.
Hi I have got a 4x1 cell (named= RankFileNames) with the following chars '0_1_workspace_20190410.mat' '0_2_workspace_20190228...

alrededor de 1 año ago | 1 answer | 0

1

answer

Answered
Code that makes matlab jumping loops without fininishing the remaining iterations.
Thank you for your answer. I wasn't clear. Here is the procedure I woul like: 1) First iteration r 2) First iteration d, exce...

más de 1 año ago | 0

Question


Code that makes matlab jumping loops without fininishing the remaining iterations.
Hi, I have got the following 2 loops: for d=1:nDates %loop over rebdates for r=1:nRebDates ind=ismember(PortMem...

más de 1 año ago | 2 answers | 0

2

answers

Question


Nested Loops and break command
Hi, below you can see my code and my question is written in green after the command break. Can you help me?

más de 1 año ago | 0 answers | 0

0

answers

Load more