how to create equation x y z using matlab

3 Ansichten (letzte 30 Tage)
mohd akmal masud
mohd akmal masud am 11 Mär. 2020
Kommentiert: Star Strider am 11 Mär. 2020
hi all,
anyone can help me how to create equation using data x,y,z??
Please help me
let say below is my data
x = [5.252907987, 1.945397314, 1.016, 0.243];
y = [287.4171875, 137.4367188, 80.08359375, 37.798];
z = [25.16096572, 23.53767761, 22.72603356, 9.740];
  1 Kommentar
Ameer Hamza
Ameer Hamza am 11 Mär. 2020
Bearbeitet: Ameer Hamza am 11 Mär. 2020
How do you want to create equation? Give an example of your equations with vectors x, y, and z.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Star Strider
Star Strider am 11 Mär. 2020
If you simply want to plot them:
x = [5.252907987, 1.945397314, 1.016, 0.243];
y = [287.4171875, 137.4367188, 80.08359375, 37.798];
z = [25.16096572, 23.53767761, 22.72603356, 9.740];
figure
plot3(x, y, z)
grid on
view(35,20)
  4 Kommentare
mohd akmal masud
mohd akmal masud am 11 Mär. 2020
Bearbeitet: mohd akmal masud am 11 Mär. 2020
sir, my experiments is nonlinear models. so how? please help me sir what is the equation
Star Strider
Star Strider am 11 Mär. 2020
Please post the model, preferably both as LaTeX and as you have coded it.
Note that using the data you posted, it must not have more thann 3 parameters.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

mohd akmal masud
mohd akmal masud am 11 Mär. 2020
Because my theori is
When x is increase, y should increase. But I have to consider z. Because some time is when x is increase, y not increase because of z.
Do you have any idea . Or how to plot that Graf x y z

Community Treasure Hunt

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

Start Hunting!

Translated by