scalar multiplication of two vectors giving me NAN,both are of same dimensions.
    4 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    sairohith mudduluru
 am 17 Feb. 2018
  
    
    
    
    
    Beantwortet: Roger Stafford
      
      
 am 17 Feb. 2018
            motregenelecpower=regenpower.*moteffregen
0 Kommentare
Akzeptierte Antwort
  Roger Stafford
      
      
 am 17 Feb. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Elementary Math finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

