what is zero padding?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
In math lab can be other numbers or only zero?
0 comentarios
Respuestas (1)
Steven Lord
el 15 de Oct. de 2015
You haven't defined a variable named hamming in your code, but there IS a function named hamming in Signal Processing Toolbox. Therefore MATLAB interpreted this line of code:
wy = y'*hamming:N-1;
as calling that function with 0 input arguments and using that in the calculation of wy. But the HAMMING function from Signal Processing Toolbox requires at least one input, the number of points in the window.
Either define the variable named hamming before you try to use it or call HAMMING with one or two input arguments (the documentation describes the meaning of each input argument.)
0 comentarios
Ver también
Categorías
Más información sobre Hamming en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!