I have a vector
col_min= [1;0;0;0;0;Inf]
where i want to find the sum, ignoring the inf. So the easy answer should be just 1.
Is it possible to achieve in a simple code? Otherwise, I guess, I have to change the Inf into NaN.
Thanks in advance,
Jonas
Best Answer