필터 지우기
필터 지우기

Can someone help me with the floor command of matlab?

조회 수: 1 (최근 30일)
sanyukta
sanyukta 2020년 6월 2일
댓글: sanyukta 2020년 6월 2일
I am stuck in one equation of Matlab program with 'floor' command.
n1=floor(1:n/N:n)
=62
Here, 1: n=1:930 and N:n=15:930
How 62 is obtained?
Also, I have found that n1 consists of 15 values and its dimension is 1x15. Please help me to understand how 1:930 (930 values) divided by 15:920(<930 values) results in 15 values?

채택된 답변

KSSV
KSSV 2020년 6월 2일
n = 930 ; N = 15 ;
% this step 1:n/N:n is same as
dn = n/N ;
n1 = 1:dn:n
  댓글 수: 5
KSSV
KSSV 2020년 6월 2일
Thats fine......and thanks is accepting the answer... :)
sanyukta
sanyukta 2020년 6월 2일
Oh yes. Accepted it

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by