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.

Answers (1)

Walter Roberson
Walter Roberson on 18 Sep 2013
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 Comments

what does q=400 mean and why we take 400 quantiles
You have shown no code after qn has been defined so we have no idea how it's going to be used.
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.

Sign in to comment.

Tags

No tags entered yet.

Asked:

on 18 Sep 2013

Community Treasure Hunt

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

Start Hunting!