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)=????

Antworten (1)

Ameer Hamza
Ameer Hamza am 15 Mai 2020

0 Stimmen

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 Kommentare

Gökhan BAYKARA
Gökhan BAYKARA am 18 Mai 2020
Gökhan BAYKARA
Gökhan BAYKARA am 18 Mai 2020
Gökhan BAYKARA
Gökhan BAYKARA am 18 Mai 2020
NO İT DOESNT WORK
Ameer Hamza
Ameer Hamza am 18 Mai 2020
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.

Diese Frage ist geschlossen.

Tags

Gefragt:

am 15 Mai 2020

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by