[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49072] assigning double arrays to cell arrays
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #49072] assigning double arrays to cell arrays: matlab incompatibility? |
Date: |
Mon, 12 Sep 2016 18:39:47 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0 |
URL:
<http://savannah.gnu.org/bugs/?49072>
Summary: assigning double arrays to cell arrays: matlab
incompatibility?
Project: GNU Octave
Submitted by: None
Submitted on: Mon 12 Sep 2016 06:39:44 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
consider the following code:
c=cell(2,2);
c(1,:) = rand(1,2)
Matlab will report:
Conversion to cell from double is not possible.
Octave assigns the double array to each element:
c =
{
[1,1] =
0.64712 0.93186
[2,1] = [](0x0)
[1,2] =
0.64712 0.93186
[2,2] = [](0x0)
}
Is this intended behavior ?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49072>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49072] assigning double arrays to cell arrays: matlab incompatibility?,
anonymous <=