sweeplot.m

来自「《通信天线建模与MATLAB仿真分析》一书配套matlab程序」· M 代码 · 共 19 行

M
19
字号
%SWEEPLOT Plots the input impedance - 
%   resistance and reactance - as functions of frequency
%
%   Uses current.mat as an input to load the impedance data
%
%   Copyright 2002 AEMM. Revision 2002/03/26 Chapter 9

clear all
load current

%plot impedance (real+imag)
a=figure
plot(f, real(Impedance),f,imag(Impedance),'--');
xlabel ('Frequency, Hz')
ylabel('Input  resistance/reactance, Ohm')
title('Resistance-solid; reactance-dashed')
axis([0 5e8 -1000 1500])
grid on

⌨️ 快捷键说明

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