Error using .* Matrix dimensions must agree.
Mostrar comentarios más antiguos
M = 25;
alpha = (M-1)/2;
n = 0:M-1;
hd = (2/pi)*((sin((pi/2)*(n-alpha)).^2)./(n-alpha));
hd(alpha+1)=0;
w_han = '(hann(M))';
h = hd .* w_han; %%%here is the error
2 comentarios
KALYAN ACHARJYA
el 27 de Dic. de 2020
Editada: KALYAN ACHARJYA
el 27 de Dic. de 2020
Array multiplication between numeric array and character array??
> whos hd
Name Size Bytes Class Attributes
hd 1x25 200 double
>> whos w_han
Name Size Bytes Class Attributes
w_han 1x9 18 char
Aim?
w_han??
muhammad nur adri nawi
el 27 de Dic. de 2020
Editada: Image Analyst
el 27 de Dic. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Multirate Signal Processing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!