Hi, I'm having a problem removing part of my output that is invalid. Basically I have a matrix, and certain values within that matrix are implausible, and I want to replace those values with a value that won't affect calculations. So for example my matric might be [1 2 3 4 30], but 30 might be implausible, so I want to replace it with another value that doesn't affect calculations so that, for example, if i were to average the values I would get (1+2+3+4)/4 not divided by 5. Any ideas would be appreciated. Thank you
MATLAB: Removing invalid results
invalid
Best Answer