[Scilab-users] Padding and clipping a grid
Rafael Guerra
jrafaelbguerra at hotmail.com
Sun Jul 29 17:32:33 CEST 2018
Hi,
A more detailed reference is:
https://en.wikipedia.org/wiki/Two_dimensional_window_design
In the simplest approach, the 2D window is the outer product of two 1D windows: Wxy = wx'*wy
For example:
nx=100;
ny=200;
wx = window('hm',nx);
wy = window('hm',ny);
ix = linspace(0,1,length(wx));
iy = linspace(0,1,length(wy));
Wxy = wx'*wy;
clf()
gcf().color_map = hotcolormap(64);
Sgrayplot(ix,iy,Wxy)
Regards,
Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20180729/c678841d/attachment.htm>
More information about the users
mailing list