why i'm getting this error?
Mostrar comentarios más antiguos
why i'm getting this error: Error using * Inner matrix dimensions must agree.
thanks
2 comentarios
David Fletcher
el 25 de Mzo. de 2018
Editada: David Fletcher
el 25 de Mzo. de 2018
Sounds like you're trying to do inner matrix multiplication rather than element by element multiplication
possibly here: (a line number where the error occurred might be handy)
*an*cos*(2*pi*f0*n.'*t) + *bn*sin*(2*pi*f0*n.'*t
instead of
an.*cos(2*pi*f0*n.'*t) + bn.*sin(2*pi*f0*n.'*t
ocsse
el 25 de Mzo. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Logical 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!