Functions | |
| plot (xQ, Q, 'bo-', xT, T(1:N),'ro-') | |
| while i< N, if Q(j)> | T (i+1) |
| while i< N, if Q(j)> | output (i+1) |
Variables | |
| Demonstration of resample algorithm clc | m |
| Q | |
| T | |
| grid | output = zeros(size(m)) |
| i = 0 | |
| j = 1 | |
| plot | ( | xQ | , | |
| Q | , | |||
| 'bo-' | , | |||
| xT | , | |||
| T(1:N) | , | |||
| 'ro-' | ||||
| ) |

| grid output = zeros(size(m)) |
1.7.1