📄 find_column.m
字号:
function [y,i]=find_column(x,n)
%input x is a vector,n is a scale
%output y is the min of x
% i is the column of y in x
y=x(1);
i=1;
for j=2:n
if x(j)<y
y=x(j);
i=j;
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -