photo

Hannes Arnar


Reykjavik University

Last seen: 4 years ago Active since 2015

Followers: 0   Following: 0

Message

HR

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


For loop for this ?
Vcd{1} = 125 *(1+rr{1}); %Investment in company Vcdd{1} = Vcd{1}.*(1+rr{2}); Vcde{1} = Vcdd{1}.*(1+rr{3}); %% rr are cell ...

4 years ago | 1 answer | 0

1

answer

Answered
for loop for this ? I want to create a for loop for this that runns throw the data and create arrays like this.
I want to let the loop jump throw the data set on some days lets say mabye 25 days , So the dataset is 1200 * 20 . By that I wa...

5 years ago | 0

Answered
for loop for this ? I want to create a for loop for this that runns throw the data and create arrays like this.
I want to let the loop jump throw the data set on some days lets say mabye 25 days , So the dataset is 1200 * 20 . By that I wa...

5 years ago | 0

Question


for loop for this ? I want to create a for loop for this that runns throw the data and create arrays like this.
close all; clear all; clc; % Vill her lata hoppa á 50 dögum , skoða þetta B data1 = xlsread('dataCompanyprices','Sheet1'...

5 years ago | 2 answers | 0

2

answers

Question


Create covariance matrix : I want to generate 50 covariance matrix for this data set, by letting the date jump on 24 days . I will let the xls file follow with
close all; clear all; clc; data1 = xlsread('dataCompanyprices','Sheet1','W4:AP1203'); data = data1(:,:); counter = 0; ...

5 years ago | 0 answers | 0

0

answers

Question


How to create for-loop for this case ?
How would you create a for-loop for this case, I want to make the S and C and R jump on 25 days close all; clear all; clc; ...

5 years ago | 1 answer | 0

1

answer

Answered
How to a create for loop for this ?
the size of it is 1247 x 20

5 years ago | 0

Answered
How to a create for loop for this ?
close all; clear all; clc; data1 = xlsread('dataCompanyprices','Sheet1','W4:AP1250'); S = std(data1)*sqrt(252); %Standard d...

5 years ago | 0

Question


How to a create for loop for this ?
data2 = data1(1:25,:); Cc = cov(data2); data3 = data1(26:51,:); Cc1 = cov(data3); data4 = data1(52:77,:); Cc2 = cov(data4);...

5 years ago | 3 answers | 0

3

answers

Question


how do I plot this?
The bee passes through an area that is defined by a box that has a side length of 100, the x and y coordinates of the bee never...

9 years ago | 1 answer | 0

1

answer

Question


how can i plot the line in different colours
close all; clear all; clc; x = -5:0.01:5; y = zeros(1,length(x)); for i = 1:length(x) if(x(i) < -1) ...

9 years ago | 2 answers | 0

2

answers

Question


How can i show the multiplication table in the command window without showing the zeros?
close all; clear all; clc; for i=1:10 for j=1:i A(i,j)=i*j; end end disp(A)

9 years ago | 1 answer | 0

1

answer