How to plot 3D of 3D dataset and using evalfis function?

1 visualización (últimos 30 días)
Alireza Babaei
Alireza Babaei el 10 de Abr. de 2021
Respondida: Shubham Khatri el 20 de Abr. de 2021
Dear MATLAB users,
1- suppose I have a 3D dataset ([x, y, z]). In which the 'z' is the output and the x and y are the independent varaibels. How can I plot it? z is not an explicit function and suppise we've found z via experimentation. (I tried surf, mesh, plot3. But none of them worked).
2- Second question is, suppose that z will be generated using anfis function (.fis):
x = [];
y = [];
z = evalfis([x, y], readfis('... .fis')),
I need to plit it as well but I see problems/erros.
Any ideas?
Thanks

Respuestas (1)

Shubham Khatri
Shubham Khatri el 20 de Abr. de 2021
Hello,
Please visit this documentation link to know more about types of plots available. In my view you can also try using the scatter3.
About the error in using the evalfis file, please go through community answer 1, community answer 2. You can also visit the documentation of evalfis.
Hope it helps

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by