octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64995] implement height and width as aliases


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #64995] implement height and width as aliases for rows and columns for matlab compatibility
Date: Thu, 7 Dec 2023 16:52:07 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?64995>

                 Summary: implement height and width as aliases for rows and
columns for matlab compatibility
                   Group: GNU Octave
               Submitter: nrjank
               Submitted: Thu 07 Dec 2023 04:52:05 PM EST
                Category: Octave Function
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 07 Dec 2023 04:52:05 PM EST By: Nicholas Jankowski <nrjank>
As of R2020b, Matlab extended the Table class height and width functions for
general inputs.  Now for non Table class inputs height and width provide the
same function as our rows and columns functions. 


height(T) is equivalent to size(T,1)
width(T) is equivalent to size(T,2)


https://www.mathworks.com/help/matlab/ref/height.html
https://www.mathworks.com/help/matlab/ref/width.html

should be a fairly simple compatibility wrapper







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64995>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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