?? 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 + -