Use Matlab to draw a regular icosohedron

So, how to use Matlab to draw a regular icosohedron. Actually it is very easy. Check it out. t = […]

Read More

Use sphere and surf function to draw many 3D spheres with the same color in MATLAB

We have just learned how to draw a 3D sphere with one fixed color. So what if we want to […]

Read More

Use sphere and surf function to draw a 3D sphere with a fixed color in MATLAB

If you directly use sphere function to draw a 3-dimensional sphere with default settings, the output will be ugly. Sometimes […]

Read More

Integrate the orbit of asteroid 4179 Toutatis with MATLAB (and the visualize the 3D orbit)

Here we will use the ode45 function to integrate and visualize the orbit of asteroid 4179 Toutatis (which is a […]

Read More

Get the norm of each row of a Matrix in MATLAB

Sometimes, for a matrix such as: X = [ 1 2 3 4 5 6 7 8 9 10 11 […]

Read More
Tags: 0 comment

MATLAB Code to do the convertion between mean anomaly, true anomaly and eccentric anomaly

Here is a MATLAB code snippet to convert the three anomaly (mean anomaly, true anomaly and eccentric anomaly) between each […]

Read More

Solve the Kepler’s equation for both hyperbolic and elliptic orbit

A couple of days ago, I public an article which is to solve the Kepler’s equation using matlab for elliptic […]

Read More

Draw 3D textured Earth and Moon with a moving satellite using MATLAB

Here we will also show how to map the texture to a sphere. And the target here is the Earth […]

Read More

Draw a 3D rotating textured Earth using MATLAB

Here we show how to map the texture to a sphere. And the target here is the Earth. Besides, the […]

Read More