MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   是否有与MATLAB的conv2函数等效的Python? (https://www.labfans.com/bbs/showthread.php?t=23915)

poster 2019-12-10 20:48

是否有与MATLAB的conv2函数等效的Python?
 
Python或其任何模块是否具有与MATLAB的[URL="http://www.mathworks.com/help/techdoc/ref/conv2.html"]conv2[/URL]函数等效的功能?更具体地说,我对conv2(A, B, 'same') MATLAB中的conv2(A, B, 'same')相同的计算感兴趣。



[B]回答:[/B]

看起来[URL="http://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.convolve2d.html"]scipy.signal.convolve2d[/URL]是您想要的。



[url=https://stackoverflow.com/questions/3731093]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:14

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.