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 个评论

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