|
From: | gigiolone123 |
Subject: | matrix: repeat last number before zero |
Date: | Fri, 8 Nov 2019 11:51:24 -0600 (CST) |
look that: 4 3 2 5 0 4 0 5 5 0 0 0 6 1 4 1 i want to repeat the last element before zero it result: 4 3 2 5 4 4 2 5 5 4 2 5 6 1 4 1 it's possibile to avoid loop? thank -- Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] | Current Thread | [Next in Thread] |