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

📄 fenk.m

📁 基于matlab的小波变换的图象压缩
💻 M
字号:
function [ytut1,ytut2,ytut3,ytut4]=fenk(A)
ys1=A(:,1:256);
ys2=A(:,257:512);
ys3=A(:,513:768);
ys4=A(:,769:1024);
yss1=reshape(ys1,1,256*256);
yss2=reshape(ys2,1,256*256);
yss3=reshape(ys3,1,256*256);
yss4=reshape(ys4,1,256*256);
ytut1=yasuof(yss1,501);
ytut2=yasuof(yss2,501);
ytut3=yasuof(yss3,501);
ytut4=yasuof(yss4,501);
fid=fopen('yt1.bin','w');
count=fwrite(fid,ytut1,'integer*2');
fclose(fid);
fid=fopen('yt2.bin','w');
count=fwrite(fid,ytut1,'integer*2');
fclose(fid);
fid=fopen('yt3.bin','w');
count=fwrite(fid,ytut1,'integer*2');
fclose(fid);
fid=fopen('yt4.bin','w');
count=fwrite(fid,ytut1,'integer*2');
fclose(fid);

⌨️ 快捷键说明

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