Clear Filters
Clear Filters

Equivalent of matlab zeros function in python

3 views (last 30 days)
Prb
Prb on 1 May 2019
Commented: Prb on 1 May 2019
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 Comment
Prb
Prb on 1 May 2019
is it something similar to this
Shifts = np.zeros(len(Fliter)-1,1,dtype = int16)

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!