[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63776] [octave-forge] (image) padarray vararg
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #63776] [octave-forge] (image) padarray varargin argument incompatibility with MATLAB |
Date: |
Wed, 8 Feb 2023 20:51:41 -0500 (EST) |
Follow-up Comment #1, bug #63776 (project octave):
In octave 8.0.90 on windows with image package 2.14.0, I get the following
from your example:
>> A = ones(4,4);
>> B = padarray(A,[2 0],'pre')
B =
0 0 0 0
0 0 0 0
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
>> B = padarray(A,[2 0],'post')
B =
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
0 0 0 0
0 0 0 0
>> B = padarray(A,[2 0],'both')
B =
0 0 0 0
0 0 0 0
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
0 0 0 0
0 0 0 0
the first one appears to match what you say you get from Matlab. can you
expand on what you expect to be different? I notice the text of the function
you're recommending be edited doesn't match my version of the padarray
function. Can you confirm what version of the image package you're using with
the command 'var'?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63776>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63776] padarray varargin argument incompatibility with MATLAB, anonymous, 2023/02/08
- [Octave-bug-tracker] [bug #63776] [octave-forge] (image) padarray varargin argument incompatibility with MATLAB, Nicholas Jankowski, 2023/02/08
- [Octave-bug-tracker] [bug #63776] [octave-forge] (image) padarray varargin argument incompatibility with MATLAB,
Nicholas Jankowski <=
- [Octave-bug-tracker] [bug #63776] [octave-forge] (image) padarray varargin argument incompatibility with MATLAB, Nicholas Jankowski, 2023/02/08
- [Octave-bug-tracker] [bug #63776] [octave-forge] (image) padarray varargin argument incompatibility with MATLAB, Nicholas Jankowski, 2023/02/08
- [Octave-bug-tracker] [bug #63776] [octave-forge] (image) padarray varargin argument incompatibility with MATLAB, Hartmut, 2023/02/09
- [Octave-bug-tracker] [bug #63776] [octave-forge] (image) padarray varargin argument incompatibility with MATLAB, anonymous, 2023/02/09
- [Octave-bug-tracker] [bug #63776] [octave-forge] (image) padarray varargin argument incompatibility with MATLAB, Nicholas Jankowski, 2023/02/09