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

📄 vistformfwd.m

📁 Matlab數位影音處理 影像方面的處理
💻 M
字号:
function vistformfwd(tform, wdata, zdata, N)
if nargin < 4
    N = 10;
end
[w,z]=meshgrid(linspace(wdata(1),zdata(2),N),...
                linspace(wdata(1),zdata(2),N));
wz=[w(:) z(:)];
xy=tformfwd([w(:) z(:)],tform);
x=reshape(xy(:,1),size(w));
y=reshape(xy(:,2),size(z));
wx=[w(:);x(:)];
wxlimits=[min(wx) max(wx)];
zy=[z(:); y(:)];
zylimits=[min(zy) max(zy)];
figure;
subplot(1,2,1)
plot(w,z,'b'),axis equal,axis ij
hold on
plot(w',z','b')
hold off
xlim(wxlimits)
ylim(zylimits)
set(gca,'XaxisLocation','top')
xlabel('w'),ylabel('z')

subplot(1,2,2)
plot(x,y,'b'),axis equal, axis ij
hold on
plot(x',y','b')
hold off
xlim(wxlimits)
ylim(zylimits)
set(gca,'XaxisLocation','top')
xlabel('x'),ylabel('y')

⌨️ 快捷键说明

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