bdrwlvh.m

来自「AFD - Advanced Filter Design using MATLA」· M 代码 · 共 33 行

M
33
字号
function [xs,matrixE] = bdrwlvh(matrixE,x,y,ds,F,dc)

% bdrwlvh.m  Draw line vertical+horizontal
% 8:18PM  9/18/99
%
%            Drawing Filter Realizations
%
%   Authors: Miroslav D. Lutovac, Dejan V. Tosic, 1999.02.21
%                 lutovac@galeb.etf.bg.ac.yu
%                 tosic@telekom.etf.bg.ac.yu
%
%   Copyright (c) 1999 by Lutovac & Tosic
%   $Revision: 1.0 $  $Date: 1999/08/21 02:17:42 $
%
%   References:
%        Miroslav D. Lutovac, Dejan V. Tosic, Brian L. Evans
%           Advanced Filter Design for Signal Processing
%                   Using MATLAB and Mathematica
%

XS = ['                                                             '];
  title('2-segment line vertical+horizontal first point')
  [xe1,ye1]=ginput(1);   xe1 = round(xe1); ye1 =round(ye1);
  title('2-segment line vertical+horizontal first point')
  [xe2,ye2]=ginput(1);   xe2 = round(xe2); ye2 =round(ye2);
xs = ['drawlvh(x(' num2str(xe1) '), y(' num2str(ye1) '),  x(' num2str(xe2) ...
     '),  y(' num2str(ye2) '), 0, dc);'];
  title(' ')

XS(1:max(size(xs)))=xs;
eval(xs);
matrixE=[matrixE;XS];

⌨️ 快捷键说明

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