Could someone with a recent version of Matlab run the attached function and upload the results here?
Thanks!
range_test.m (830 Bytes)
Could someone with a recent version of Matlab run the attached function and upload the results here?
Thanks!
range_test.m (830 Bytes)
>> range_test
Check for missing argument or incorrect argument data type in call to function 'printf'.
Error in range_test>compute_and_display_range (line 18)
printf ('------------------------------\n')
Error in range_test (line 8)
compute_and_display_range (base(j), increment(i), limit(k));
Oops, I forgot that Matlab doesn’t have printf. Just change it to fprintf instead and all should be fine.
Thanks. After changeset octave: 715344f405f0 I believe Octave matches this behavior for floating point ranges.