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 件)

カテゴリ

質問済み:

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