I am attaching an mfile with nested ifs – it is really simple and I include the commenting, so it is easily read.
However, it takes for ever to execute. The weird thing is that if I exclude only one condition (one nested if – the >1.11 Z see code) , it executes really fast. I really cannot spot weather there is a mistake in the code – it doens't return anth as an error, just simply never stops, so I was just hoping for you MATLAB guru's.
Thanx a lot in advance! Stella