如何根据 f(x,y,z)=0 等函数在 matlab 中绘制 3D 图形? [英] How to plot a 3D figure in matlab based on a function like f(x,y,z)=0?

查看:27
本文介绍了如何根据 f(x,y,z)=0 等函数在 matlab 中绘制 3D 图形?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何基于f(x,y,z)=0之类的函数在MATLAB中绘制3D图形?而这个复杂的函数不能写成z = f(x,y).

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

其中 a 是已知向量,sv 是已知矩阵,b 是已知值.x,y,z 是三个变量.如何在matlab中以3D方式绘制该曲面?

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?

推荐答案

我刚刚通过 Matlab File Exchange 中的这个工具解决了这个问题:
Ezimplot3:隐式3D函数绘图仪

I just solve this question by this tool from the Matlab File Exchange:
Ezimplot3: implicit 3D functions plotter

这篇关于如何根据 f(x,y,z)=0 等函数在 matlab 中绘制 3D 图形?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆