How to plot a data in spherical coordinates?

10 views (last 30 days)
Let me explain, what I'm actually solving.
I'm solving Diffusion-Reaction equation(2D) in spherical coordinates(axis-symmetric case).
I'm solving this equation numerically. So at the end I'm getting , r, θ.
So I want to plot this function in r and θ plane instead of palne
I'm attaching data.mat file to this question
Can anyone help in this regard?
Thanks in advance.

Accepted Answer

David Hill
David Hill on 16 Aug 2022
[x,y,z]=sph2cart(th,conc,r);
surf(x,y,z);
  3 Comments

Sign in to comment.

More Answers (0)

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!