octave-maintainers
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Re: Help with indexing compatibility
From
:
Nicholas Jankowski
Subject
:
Re: Help with indexing compatibility
Date
:
Fri, 4 Nov 2016 21:30:46 -0400
On Fri, Nov 4, 2016 at 6:21 PM, Rik
<
address@hidden
>
wrote:
+verbatim+
x = [1 2 3];
x([3 2 1]')
x'([3 2 1])
-verbatim-
Matlab 2016a
>> x = [1 2 3];
>> x([3 2 1]')
ans =
3 2 1
>> x'([3 2 1])
x'([3 2 1])
↑
Error: Unbalanced or unexpected parenthesis or bracket.
>> x([3 2 1])'
ans =
3
2
1
>> x
x =
1 2 3
reply via email to
[
Prev in Thread
]
Current Thread
[
Next in Thread
]
Help with indexing compatibility
,
Rik
,
2016/11/04
Re: Help with indexing compatibility
,
Nicholas Jankowski
<=
Re: Help with indexing compatibility
,
Sebastian Schöps
,
2016/11/05
Prev by Date:
Help with indexing compatibility
Next by Date:
Re: Help with indexing compatibility
Previous by thread:
Help with indexing compatibility
Next by thread:
Re: Help with indexing compatibility
Index(es):
Date
Thread