[Scilab-users] Padarray Matlab equivalent in Scilab
Lester Anderson
arctica1963 at gmail.com
Wed Feb 10 09:49:32 CET 2016
Hi all,
A quick one. I am looking for the Scilab equivalent to padarray in Matlab.
In the Matlab code the line is:
datapad = padarray(data, [rdiff cdiff], 'replicate') where cdiff/rdiff
are column/row, with the replicate function padding with the values at
the borders of "data"
The closest I can find in Scilab is: resize_matrix
resMat = resize_matrix(mat, nbRows, nbCols, resType, padding)
Just want to verify I am looking at the correct option.
Lester
More information about the users
mailing list