Plotting a multivariable function B(x,y,z)

1 次查看(过去 30 天)
How to plot the Biot-Savart Law that depend on 3 variables?
B(A,t,r)=((4*pi^-7)*(A.sin(60.*t)))/((4*pi)*(r.^2))
  2 个评论
Walter Roberson
Walter Roberson 2020-1-29
What is a sample output plot? You have 3 independent variables and one dependent variable so you need a 4D plot or encoding one of the dimensions indirectly such as color and transparency and a volume view interface.
Jhie Ton
Jhie Ton 2020-1-29
I tried doing a plot with surf and mesh but I keep getting an error where Z must be a matrix

请先登录,再进行评论。

回答(1 个)

KSSV
KSSV 2020-1-29
Read about surf
  1 个评论
Jhie Ton
Jhie Ton 2020-1-29
I cant seem to find any related to the equation I want to use.
The Link: https://www.mathworks.com/help/matlab/ref/surf.html

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by