Equivalent of matlab zeros function in python

What is the equivalent of zeros function in python to translate below code block
Shifts = zeros(length(Filters)-1,1,'int16');
thanks in advance

댓글 수: 1

Prb
Prb 2019년 5월 1일
is it something similar to this
Shifts = np.zeros(len(Fliter)-1,1,dtype = int16)

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

질문:

Prb
2019년 5월 1일

댓글:

Prb
2019년 5월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by