[Top][All Lists]

[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


                 Summary: assigning double arrays to cell arrays: matlab
                 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



consider the following code:

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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]