PDA

View Full Version : matlab help..strange problem


jaspreet85
2 Jun 2006, 09:39am
hi I am using matlab7..i m encounterinf a strange problem.I am calculating a particluar quantity inside a for loop(which is ranging from 10^-1 to 10^-7).As long as i do just that,its working fine,but when i add all these using the same or another variable..it starts giving me complex NaN numbers(like NaN+NaNi)..does neone has ne idea what the problem could be??

drasnor
2 Jun 2006, 06:10pm
Post some code so we can take a look-see.

-drasnor :fold: