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.

Réponses (1)

Walter Roberson
Walter Roberson le 18 Sep 2013

0 votes

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 commentaires

aisha
aisha le 18 Sep 2013
what does q=400 mean and why we take 400 quantiles
Image Analyst
Image Analyst le 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 le 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.

Connectez-vous pour commenter.

Tags

Aucun tag saisi pour le moment.

Question posée :

le 18 Sep 2013

Community Treasure Hunt

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

Start Hunting!

Translated by