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

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 个评论

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.
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 个评论

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

请先登录,再进行评论。

类别

产品

版本

R2018b

提问:

2020-1-29

评论:

2020-1-29

Community Treasure Hunt

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

Start Hunting!

Translated by