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.

답변 (1개)

Walter Roberson
Walter Roberson 2013년 9월 18일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

카테고리

태그

아직 태그를 입력하지 않았습니다.

질문:

2013년 9월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by