Dear members! 

I have problems with new warning "Warning adding a matrix with the empty matrix 
will give an empty matrix result.". 

A construction such as 

y(x>10)=y(x>10)+1; 

produce the warning in 6.0.0 version if all of x<10. It is very critical if 
such construction is in a cost function of optimization, function for zero 
search or other iteration process. 

If millions of calculations of the affected function is required, the time 
consumption significantly increases and the output will be littered and 
unreadable. Using warning('off') usually is not good idea because it can 
suppress some important warning during the calculation. Is it possible to 
suppress the warning separately? 

Multiplication, division or power do not produce the same warning. 

With best regards. 
Viktor. 
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to