Mercurial > octave
comparison doc/interpreter/container.txi @ 22714:59340e2bc976 stable
doc: Fix incorrect example in container.txi (bug #49521).
* container.txi: Use correct output of Octave for indexing cell array.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 03 Nov 2016 09:24:23 -0700 |
parents | bac0d6f07a3e |
children | 3a2b891d0b33 54404cc32903 |
comparison
equal
deleted
inserted
replaced
22713:9e415e57a6a7 | 22714:59340e2bc976 |
---|---|
734 with the following command: | 734 with the following command: |
735 | 735 |
736 @example | 736 @example |
737 @group | 737 @group |
738 c(:, [1, 3]) = @{0@} | 738 c(:, [1, 3]) = @{0@} |
739 @result{} = | 739 @result{} = |
740 @{ | 740 @{ |
741 [1,1] = 0 | 741 [1,1] = 0 |
742 [2,1] = 0 | 742 [2,1] = 0 |
743 [3,1] = 0 | 743 [3,1] = 0 |
744 [1,2] = 2 | 744 [1,2] = 2 |
745 [2,2] = 10 | 745 [2,2] = y |
746 [3,2] = 20 | 746 [3,2] = 5 |
747 [1,3] = 0 | 747 [1,3] = 0 |
748 [2,3] = 0 | 748 [2,3] = 0 |
749 [3,3] = 0 | 749 [3,3] = 0 |
750 @} | 750 @} |
751 @end group | 751 @end group |