<div dir="ltr">Hello all,<br><br>I have a query regarding some code I tweaked to run under Scilab from the original Matlab version (attached both here). Both give the same result for subplot 1 (upper view), but the lower subplot has different results and I cannot see where the difference is occurring. It is just the one variable 'tecsub' that is different:<br><br>Output of Matlab code run under Octave 4.2.1<br>Time to run: ~75 seconds (Windows 8, 4 Gb RAM)<br><br># name: tecsub<br># type: matrix<br># rows: 1<br># columns: 10<br> -139.3527934186596 842.87653145532 1025.945665042103 1146.425533894219 1203.652906805529 1059.430317329787 1537.631029751693 1733.651048106937 1764.494015134895 1550.652338116411<br> <br>Output of Scilab version of code - 6.0.1<br>Time run(same system): barely 2 seconds<br> <br>(-296.995965224827    1048.6694829971702    1170.395004249152    1144.5753136299015    1041.8907922680846    1221.1924318672322    1539.48125001601    1589.201708899888    1558.7010635930444    1708.2955099225785)<br><br>Also note how fast the code runs under Scilab compared to Octave running broadly the same code. Didn't get to tweak the second subplot axis back to 0 depth at top, but here I'm interested in the values. If someone can see where the variance is great.<br><br>Cheers<br>Lester<br></div>