📄 shufcn.m
字号:
function f = shufcn(y)
for j = 1: size(y,1)
f(j) = 0.0;
x = y(j,:);
temp1 = 0;
temp2 = 0;
x1 = x(1);
x2 = x(2);
for i = 1:5
temp1 = temp1 + i.*cos((i+1).*x1+i);
temp2 = temp2 + i.*cos((i+1).*x2+i);
end
f(j) = temp1.*temp2;
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -