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

조회 수: 2 (최근 30일)
Alireza Babaei
Alireza Babaei 2021년 4월 10일
답변: Shubham Khatri 2021년 4월 20일
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

답변 (1개)

Shubham Khatri
Shubham Khatri 2021년 4월 20일
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

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by