[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57383] cell2mat could issue "Octave:language-
From: |
A.R. Burgers |
Subject: |
[Octave-bug-tracker] [bug #57383] cell2mat could issue "Octave:language-extension" warning on mixed class numeric input |
Date: |
Mon, 23 Aug 2021 07:25:41 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36 Edg/92.0.902.78 |
Follow-up Comment #4, bug #57383 (project octave):
In this example:
c = {pi, single(2)}
cm = cell2mat(c)
class(cm)
the octave m script cell2mat generates a call to cat that boils down to:
c = {pi, single(2)}
cm = reshape(cat(1, c{:}), size(c))
While matlab throws an error on executing the cell2mat call, it does execute
the cat function, and return a single result, as octave does.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57383>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #57383] cell2mat could issue "Octave:language-extension" warning on mixed class numeric input,
A.R. Burgers <=