what is the meaning of code?

t = 5;
nt = length(invest(:,1));
n = nt/t;
qn = 400; % number of quantiles to examine
what does this nt, n= nt/t mean and how no of quantiles are determined in data to enter i code.

Antworten (1)

Walter Roberson
Walter Roberson am 18 Sep. 2013

0 Stimmen

nt/t means nt is to be divided by t -- so the number of rows is to be divided by 5.
Why that should be done is not known from the context you have given.

3 Kommentare

aisha
aisha am 18 Sep. 2013
what does q=400 mean and why we take 400 quantiles
Image Analyst
Image Analyst am 18 Sep. 2013
You have shown no code after qn has been defined so we have no idea how it's going to be used.
Walter Roberson
Walter Roberson am 18 Sep. 2013
q=400 means to assign the double precision representation of the integral value (decimal) 400 to the variable named "gn".
Why that should be done is not known from the context you have provided.

Melden Sie sich an, um zu kommentieren.

Tags

Noch keine Tags eingegeben.

Gefragt:

am 18 Sep. 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by