f.m

来自「有约束2a+b^2+tan(c)=15 目标函数a*exp(b/x)+c=y 」· M 代码 · 共 10 行

M
10
字号
function [ f ] = f( x )%F Summary of this function goes here%   Detailed explanation goes hereglobal data1global data2global thedafor i=1:8    f(i)=x(1)*exp(x(2)/data1(i))+x(3)-data2(i)endf(9)=theda^0.5*(2*x(1)+x(2)^2+tan(x(3))-15)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?