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 Commenti

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

Accedi per commentare.

Risposte (1)

KSSV
KSSV il 29 Gen 2020
Read about surf

1 Commento

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

Accedi per commentare.

Prodotti

Release

R2018b

Richiesto:

il 29 Gen 2020

Commentato:

il 29 Gen 2020

Community Treasure Hunt

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

Start Hunting!

Translated by