I have a column in my data called 'Density' and I want to make an 'if' condition for if the difference between two adjacent values is less than 0.1. If this is the case I do not want either values to appear in my figure.
MATLAB: Hi, i’m trying to make a condition that states ‘only if the difference between two values is greater than 0.1 then plot’. What would be the code for this? Thanks :)
codeconditiondifferenceif
Best Answer