find code for divergence and curl
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
6- (a)Write a MATLAB code that can find the divergence of a velocity vector field A from a closed cylinder encloded by ρ = 5, 0 ≤ φ ≤ 2π, and z = 5, where A = ρ^2 aρ + 2z az. Plot the vector field A and its divergence. Comment on your results.
(b)Write a MATLAB code to find the curl of vector field H = x^3 ax + 2xyz ay. Plot the vector field H and its curl, ∇ × H. Comment on your results.
2 commentaires
the cyclist
le 14 Avr 2018
This looks like your homework is to write the code, not find the code. You'll learn more that way.
If you post what you have tried yourself, people on this forum will generally try to help you. But they will not do your homework for you.
John BG
le 14 Avr 2018
Hi Almuathir
people with similar questions start reading this
and this
try to modify the examples in order to solve the questions.
regards
John BG
Réponses (0)
Voir également
Catégories
En savoir plus sur Audio and Video Data dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!