📄 highpoint.m
字号:
function [Pr]=highpoint(z)
%------------------------------------------------------------------------
% Highpoint is a m file that calculates the highest points in a ground
% profile for microwave communications
%
% [Pr]=highpoint(z)
%
% Developed by: Hanna Aboukheir, Hanna2k2@hotmail.com
%----------------------------------------------------------------------
n=length(z)-1
% Specifies the matrix to explore
for i=0:n
H(i+1)=z(i+1)
Pr(i+1)=max(H)
end
% Plotting Results
figure(1)
plot(z)
title('Graphical Plot of Profile')
figure(2)
plot(Pr)
title('Highest Points on Profile')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -