HOW CAN I SOLVE THİS PROBLEM WİTH FUNCTİON
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
z=0:0.1:30
Z=1.4*X^2+1
X=F(Z)
HOW CAN I FİND THİS FUNCTİONS ANSWERS
X(Z)=????
0 个评论
回答(1 个)
Ameer Hamza
2020-5-15
Try this
syms X Z
eq = Z == 1.4*X^2+1;
X(Z) = solve(eq, X);
z = 0:0.1:30;
result = X(z)
Since z is quadratic in terms of 'x', therefore, inverting, it will give you two solutions.
4 个评论
Gökhan BAYKARA
2020-5-18
Gökhan BAYKARA
2020-5-18
Gökhan BAYKARA
2020-5-18
Ameer Hamza
2020-5-18
In MATLAB, the name of the variable is case sensitive. Write upper and lower case X and Z the same as I have written in my code.
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

