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

1 view (last 30 days)
Jhie Ton
Jhie Ton on 29 Jan 2020
Commented: Jhie Ton on 29 Jan 2020
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 Comments
Walter Roberson
Walter Roberson on 29 Jan 2020
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 on 29 Jan 2020
I tried doing a plot with surf and mesh but I keep getting an error where Z must be a matrix

Sign in to comment.

Answers (1)

KSSV
KSSV on 29 Jan 2020
Read about surf
  1 Comment
Jhie Ton
Jhie Ton on 29 Jan 2020
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

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!