+ 1

Matlab

Can you please help me switch this equation into matlab function? kf = x5 ·e^(x1·T )· ˙ ϕ^(x2) ·ϕ^(x3) ·e^(x4·√ϕ) (NOTE: x5, x4, ... the numbers are the names of the x’s. ˙ ϕ is ϕpoint)

8th Jul 2020, 5:26 PM
Mohamad Moussa
Mohamad Moussa - avatar
3 Respostas
0
btw i want it in this format please:
8th Jul 2020, 5:29 PM
Mohamad Moussa
Mohamad Moussa - avatar
0
y_eq=x.*x_opt_1(1,1)+x_opt_1(2,1)*log(inputed_Phidot)+log(y).*x_opt_1(3,1)+y.*x_opt_1(4,1)+x.*(x_opt_1(5,1)*log(inputed_Phidot))+x_opt_1(6,1);
8th Jul 2020, 5:30 PM
Mohamad Moussa
Mohamad Moussa - avatar
0
^^this is the function for this equation : kf = g(x,T,ϕ, ˙ ϕ) = x6 ·e^(x1·T )· ˙ ϕ^(x2+x5·T) ·ϕ^(x3 )·e^(x4·ϕ ).
8th Jul 2020, 5:32 PM
Mohamad Moussa
Mohamad Moussa - avatar