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

1 visualizzazione (ultimi 30 giorni)
Jhie Ton
Jhie Ton il 29 Gen 2020
Commentato: Jhie Ton il 29 Gen 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 Commenti
Walter Roberson
Walter Roberson il 29 Gen 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 il 29 Gen 2020
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
Jhie Ton
Jhie Ton il 29 Gen 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

Accedi per commentare.

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by