scalar multiplication of two vectors giving me NAN,both are of same dimensions.
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sairohith mudduluru
el 17 de Feb. de 2018
Respondida: Roger Stafford
el 17 de Feb. de 2018
motregenelecpower=regenpower.*moteffregen
0 comentarios
Respuesta aceptada
Roger Stafford
el 17 de Feb. de 2018
A zero in one vector multiplied by a corresponding infinity in the other vector will give a NaN result. You would do well to check the contents of your vectors.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Elementary Math 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!