-3

How to plot a 3D figure in MATLAB based on a function like f(x,y,z)=0? And this complicated function can not be written as z = f(x,y).

f(x,y,z)=sum(a.*exp(sv(:,1)-x).^2+sv(:,2)-y).^2+sv(:,3)-z).^2)-b=0

where a is a known vector, sv is a known matrix, b is a known value. x,y,z are three variables. How to draw this surface in 3D way in matlab?

4

2 回答 2

2

我只是通过 Matlab 文件交换中的这个工具解决了这个问题:
Ezimplot3:隐式 3D 函数绘图仪

于 2013-08-15T13:38:59.027 回答
1

your function only contains 1D vectors( I am assuming they are of equal lengths), if summed it will give you a constant; therefore, there is really nothing to plot.

于 2013-08-14T16:49:20.507 回答