this is my MATLAB code with the following output:
pad=nan(1,5)
pad =
NaN NaN NaN NaN NaN
I want to do the same operation in python, I tried np.isnan(1,6)
but this is not working. what should I used to get the same results. thank you