Hi my project is bases on stress analysis.
i have a bunch on standard numbers and I'm calculating and i get a non-standard number. I want Matlab to spit back to me the next available number towards +infinity
example
x=[1.5 , 2.2 , 3.1 , 4.2 , 5.2 , 6.6 , 7.2]
y=4.3
i would like Matlab to spit back to me 5 not 4.
is there anyone that can help me with this?
Thank you