⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 coinc.m

📁 vigenere密码解密的matlab实现
💻 M
字号:
function y = coinc(txt,n);% This function returns the number of matches between txt and txt % shifted by nxln=length(txt);x=[zeros(size(xln-n+1:xln)) txt(1:xln-n)]; %The zeros are at the beginning because I needed filler when doing the compare% One could wrap around the text, as in which case one would use % txt(xln-n+1:xln)v=(txt==x);y=sum(v);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -