Hi, I think the following approach doesn't seem to meet the requirements of the function itself.
|
data = data(ones(1,sz_SA(2)), :); |
It should be
data = data(:,ones(1,sz_SA(2)));
The following all have similar issues
|
data = data(:,ones(1,sz_SA(1))); |
|
data = data(ones(1,sz_SA(2)),:); |
|
data = data(:,ones(1,sz_SA(1))); |
If I have any misunderstandings about functions, please point them out. Thanks
Hi, I think the following approach doesn't seem to meet the requirements of the function itself.
GSW-Matlab/Toolbox/library/gsw_resize.m
Line 53 in 7709377
It should be
data = data(:,ones(1,sz_SA(2)));The following all have similar issues
GSW-Matlab/Toolbox/library/gsw_resize.m
Line 55 in 7709377
GSW-Matlab/Toolbox/library/gsw_resize.m
Line 58 in 7709377
GSW-Matlab/Toolbox/library/gsw_resize.m
Line 61 in 7709377
If I have any misunderstandings about functions, please point them out. Thanks