📄 dist_t.m
字号:
function distn = dist_t(x,y)
% This function calculates distance between two points
% x and y is a 1 by 2 matrix which containes coordinates of two points
% Example: x (12, 26), y (5, 0);
distn = sqrt((x(1) - y(1))^2 + (x(2) - y(2))^2);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -