Skip to content

Commit c00d088

Browse files
committed
updated waitbar
1 parent 6637132 commit c00d088

File tree

26 files changed

+125
-125
lines changed

26 files changed

+125
-125
lines changed

INSTALL/ODE Solver Toolbox.mltbx

62 Bytes
Binary file not shown.

toolbox/adamsbashforth/AB2.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
% See also AB3, AB4, AB5, AB6, AB7, AB8.
1010
%
1111
% Copyright © 2021 Tamas Kis
12-
% Last Update: 2022-03-28
12+
% Last Update: 2022-03-31
1313
% Website: https://tamaskis.github.io
1414
% Contact: tamas.a.kis@outlook.com
1515
%
@@ -286,9 +286,9 @@
286286
%----------------------------------------------------------------------
287287
%
288288
% INPUT:
289-
% wb - (1×1 Figure) waitbar
290289
% n - (1×1 double) current sample number (i.e. iteration)
291290
% N - (1×1 double) total number of samples (i.e. iterations)
291+
% wb - (1×1 Figure) waitbar
292292
% prop - (1×1 double) cutoff proportion to trigger waitbar update
293293
%
294294
% OUTPUT:
@@ -299,13 +299,13 @@
299299
% only updated after every additional 10% of progress.
300300
%
301301
%----------------------------------------------------------------------
302-
function prop = update_waitbar(i,N,wb,prop)
302+
function prop = update_waitbar(n,N,wb,prop)
303303

304304
% only updates waitbar if current proportion exceeds cutoff prop.
305-
if i/N > prop
305+
if n/N > prop
306306

307307
% updates waitbar
308-
waitbar(i/N,wb);
308+
waitbar(n/N,wb);
309309

310310
% updates cutoff proportion needed to trigger waitbar update
311311
prop = prop+0.1;

toolbox/adamsbashforth/AB3.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
% See also AB2, AB4, AB5, AB6, AB7, AB8.
1010
%
1111
% Copyright © 2021 Tamas Kis
12-
% Last Update: 2022-03-28
12+
% Last Update: 2022-03-31
1313
% Website: https://tamaskis.github.io
1414
% Contact: tamas.a.kis@outlook.com
1515
%
@@ -286,9 +286,9 @@
286286
%----------------------------------------------------------------------
287287
%
288288
% INPUT:
289-
% wb - (1×1 Figure) waitbar
290289
% n - (1×1 double) current sample number (i.e. iteration)
291290
% N - (1×1 double) total number of samples (i.e. iterations)
291+
% wb - (1×1 Figure) waitbar
292292
% prop - (1×1 double) cutoff proportion to trigger waitbar update
293293
%
294294
% OUTPUT:
@@ -299,13 +299,13 @@
299299
% only updated after every additional 10% of progress.
300300
%
301301
%----------------------------------------------------------------------
302-
function prop = update_waitbar(i,N,wb,prop)
302+
function prop = update_waitbar(n,N,wb,prop)
303303

304304
% only updates waitbar if current proportion exceeds cutoff prop.
305-
if i/N > prop
305+
if n/N > prop
306306

307307
% updates waitbar
308-
waitbar(i/N,wb);
308+
waitbar(n/N,wb);
309309

310310
% updates cutoff proportion needed to trigger waitbar update
311311
prop = prop+0.1;

toolbox/adamsbashforth/AB4.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
% See also AB2, AB3, AB5, AB6, AB7, AB8.
1010
%
1111
% Copyright © 2021 Tamas Kis
12-
% Last Update: 2022-03-28
12+
% Last Update: 2022-03-31
1313
% Website: https://tamaskis.github.io
1414
% Contact: tamas.a.kis@outlook.com
1515
%
@@ -288,9 +288,9 @@
288288
%----------------------------------------------------------------------
289289
%
290290
% INPUT:
291-
% wb - (1×1 Figure) waitbar
292291
% n - (1×1 double) current sample number (i.e. iteration)
293292
% N - (1×1 double) total number of samples (i.e. iterations)
293+
% wb - (1×1 Figure) waitbar
294294
% prop - (1×1 double) cutoff proportion to trigger waitbar update
295295
%
296296
% OUTPUT:
@@ -301,13 +301,13 @@
301301
% only updated after every additional 10% of progress.
302302
%
303303
%----------------------------------------------------------------------
304-
function prop = update_waitbar(i,N,wb,prop)
304+
function prop = update_waitbar(n,N,wb,prop)
305305

306306
% only updates waitbar if current proportion exceeds cutoff prop.
307-
if i/N > prop
307+
if n/N > prop
308308

309309
% updates waitbar
310-
waitbar(i/N,wb);
310+
waitbar(n/N,wb);
311311

312312
% updates cutoff proportion needed to trigger waitbar update
313313
prop = prop+0.1;

toolbox/adamsbashforth/AB5.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
% See also AB2, AB3, AB4, AB6, AB7, AB8.
1010
%
1111
% Copyright © 2021 Tamas Kis
12-
% Last Update: 2022-03-28
12+
% Last Update: 2022-03-31
1313
% Website: https://tamaskis.github.io
1414
% Contact: tamas.a.kis@outlook.com
1515
%
@@ -288,9 +288,9 @@
288288
%----------------------------------------------------------------------
289289
%
290290
% INPUT:
291-
% wb - (1×1 Figure) waitbar
292291
% n - (1×1 double) current sample number (i.e. iteration)
293292
% N - (1×1 double) total number of samples (i.e. iterations)
293+
% wb - (1×1 Figure) waitbar
294294
% prop - (1×1 double) cutoff proportion to trigger waitbar update
295295
%
296296
% OUTPUT:
@@ -301,13 +301,13 @@
301301
% only updated after every additional 10% of progress.
302302
%
303303
%----------------------------------------------------------------------
304-
function prop = update_waitbar(i,N,wb,prop)
304+
function prop = update_waitbar(n,N,wb,prop)
305305

306306
% only updates waitbar if current proportion exceeds cutoff prop.
307-
if i/N > prop
307+
if n/N > prop
308308

309309
% updates waitbar
310-
waitbar(i/N,wb);
310+
waitbar(n/N,wb);
311311

312312
% updates cutoff proportion needed to trigger waitbar update
313313
prop = prop+0.1;

toolbox/adamsbashforth/AB6.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
% See also AB2, AB3, AB4, AB5, AB7, AB8.
1010
%
1111
% Copyright © 2021 Tamas Kis
12-
% Last Update: 2022-03-28
12+
% Last Update: 2022-03-31
1313
% Website: https://tamaskis.github.io
1414
% Contact: tamas.a.kis@outlook.com
1515
%
@@ -289,9 +289,9 @@
289289
%----------------------------------------------------------------------
290290
%
291291
% INPUT:
292-
% wb - (1×1 Figure) waitbar
293292
% n - (1×1 double) current sample number (i.e. iteration)
294293
% N - (1×1 double) total number of samples (i.e. iterations)
294+
% wb - (1×1 Figure) waitbar
295295
% prop - (1×1 double) cutoff proportion to trigger waitbar update
296296
%
297297
% OUTPUT:
@@ -302,13 +302,13 @@
302302
% only updated after every additional 10% of progress.
303303
%
304304
%----------------------------------------------------------------------
305-
function prop = update_waitbar(i,N,wb,prop)
305+
function prop = update_waitbar(n,N,wb,prop)
306306

307307
% only updates waitbar if current proportion exceeds cutoff prop.
308-
if i/N > prop
308+
if n/N > prop
309309

310310
% updates waitbar
311-
waitbar(i/N,wb);
311+
waitbar(n/N,wb);
312312

313313
% updates cutoff proportion needed to trigger waitbar update
314314
prop = prop+0.1;

toolbox/adamsbashforth/AB7.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
% See also AB2, AB3, AB4, AB5, AB6, AB8.
1010
%
1111
% Copyright © 2021 Tamas Kis
12-
% Last Update: 2022-03-28
12+
% Last Update: 2022-03-31
1313
% Website: https://tamaskis.github.io
1414
% Contact: tamas.a.kis@outlook.com
1515
%
@@ -289,9 +289,9 @@
289289
%----------------------------------------------------------------------
290290
%
291291
% INPUT:
292-
% wb - (1×1 Figure) waitbar
293292
% n - (1×1 double) current sample number (i.e. iteration)
294293
% N - (1×1 double) total number of samples (i.e. iterations)
294+
% wb - (1×1 Figure) waitbar
295295
% prop - (1×1 double) cutoff proportion to trigger waitbar update
296296
%
297297
% OUTPUT:
@@ -302,13 +302,13 @@
302302
% only updated after every additional 10% of progress.
303303
%
304304
%----------------------------------------------------------------------
305-
function prop = update_waitbar(i,N,wb,prop)
305+
function prop = update_waitbar(n,N,wb,prop)
306306

307307
% only updates waitbar if current proportion exceeds cutoff prop.
308-
if i/N > prop
308+
if n/N > prop
309309

310310
% updates waitbar
311-
waitbar(i/N,wb);
311+
waitbar(n/N,wb);
312312

313313
% updates cutoff proportion needed to trigger waitbar update
314314
prop = prop+0.1;

toolbox/adamsbashforth/AB8.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
% See also AB2, AB3, AB4, AB5, AB6, AB7.
1010
%
1111
% Copyright © 2021 Tamas Kis
12-
% Last Update: 2022-03-28
12+
% Last Update: 2022-03-31
1313
% Website: https://tamaskis.github.io
1414
% Contact: tamas.a.kis@outlook.com
1515
%
@@ -289,9 +289,9 @@
289289
%----------------------------------------------------------------------
290290
%
291291
% INPUT:
292-
% wb - (1×1 Figure) waitbar
293292
% n - (1×1 double) current sample number (i.e. iteration)
294293
% N - (1×1 double) total number of samples (i.e. iterations)
294+
% wb - (1×1 Figure) waitbar
295295
% prop - (1×1 double) cutoff proportion to trigger waitbar update
296296
%
297297
% OUTPUT:
@@ -302,13 +302,13 @@
302302
% only updated after every additional 10% of progress.
303303
%
304304
%----------------------------------------------------------------------
305-
function prop = update_waitbar(i,N,wb,prop)
305+
function prop = update_waitbar(n,N,wb,prop)
306306

307307
% only updates waitbar if current proportion exceeds cutoff prop.
308-
if i/N > prop
308+
if n/N > prop
309309

310310
% updates waitbar
311-
waitbar(i/N,wb);
311+
waitbar(n/N,wb);
312312

313313
% updates cutoff proportion needed to trigger waitbar update
314314
prop = prop+0.1;

toolbox/adamsbashforthmoulton/ABM2.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
% See also ABM3, ABM4, ABM5, ABM6, ABM7, ABM8.
1010
%
1111
% Copyright © 2021 Tamas Kis
12-
% Last Update: 2022-03-28
12+
% Last Update: 2022-03-31
1313
% Website: https://tamaskis.github.io
1414
% Contact: tamas.a.kis@outlook.com
1515
%
@@ -292,9 +292,9 @@
292292
%----------------------------------------------------------------------
293293
%
294294
% INPUT:
295-
% wb - (1×1 Figure) waitbar
296295
% n - (1×1 double) current sample number (i.e. iteration)
297296
% N - (1×1 double) total number of samples (i.e. iterations)
297+
% wb - (1×1 Figure) waitbar
298298
% prop - (1×1 double) cutoff proportion to trigger waitbar update
299299
%
300300
% OUTPUT:
@@ -305,13 +305,13 @@
305305
% only updated after every additional 10% of progress.
306306
%
307307
%----------------------------------------------------------------------
308-
function prop = update_waitbar(i,N,wb,prop)
308+
function prop = update_waitbar(n,N,wb,prop)
309309

310310
% only updates waitbar if current proportion exceeds cutoff prop.
311-
if i/N > prop
311+
if n/N > prop
312312

313313
% updates waitbar
314-
waitbar(i/N,wb);
314+
waitbar(n/N,wb);
315315

316316
% updates cutoff proportion needed to trigger waitbar update
317317
prop = prop+0.1;

toolbox/adamsbashforthmoulton/ABM3.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
% See also ABM2, ABM4, ABM5, ABM6, ABM7, ABM8.
1010
%
1111
% Copyright © 2021 Tamas Kis
12-
% Last Update: 2022-03-28
12+
% Last Update: 2022-03-31
1313
% Website: https://tamaskis.github.io
1414
% Contact: tamas.a.kis@outlook.com
1515
%
@@ -292,9 +292,9 @@
292292
%----------------------------------------------------------------------
293293
%
294294
% INPUT:
295-
% wb - (1×1 Figure) waitbar
296295
% n - (1×1 double) current sample number (i.e. iteration)
297296
% N - (1×1 double) total number of samples (i.e. iterations)
297+
% wb - (1×1 Figure) waitbar
298298
% prop - (1×1 double) cutoff proportion to trigger waitbar update
299299
%
300300
% OUTPUT:
@@ -305,13 +305,13 @@
305305
% only updated after every additional 10% of progress.
306306
%
307307
%----------------------------------------------------------------------
308-
function prop = update_waitbar(i,N,wb,prop)
308+
function prop = update_waitbar(n,N,wb,prop)
309309

310310
% only updates waitbar if current proportion exceeds cutoff prop.
311-
if i/N > prop
311+
if n/N > prop
312312

313313
% updates waitbar
314-
waitbar(i/N,wb);
314+
waitbar(n/N,wb);
315315

316316
% updates cutoff proportion needed to trigger waitbar update
317317
prop = prop+0.1;

0 commit comments

Comments
 (0)