Riemann Spheres
Here are some visualizations of the Riemann Sphere, done in Scilab. The code is given below.

November 8, 2006 @ 12:07 am · Filed under Mathematics
Here are some visualizations of the Riemann Sphere, done in Scilab. The code is given below.

//Riemann sphere
clear;
stacksize (10000000);
num_points = 50;u = linspace (-1, 1, num_points);
v = linspace (0, %pi, num_points);
[U, V] = meshgrid (u, v);a = 1;
b = sqrt(1 + (a.*U).^2);x = sin(U + V)./b;
y = cos(U + V)./b;
z = -a.*U./b;surf(x, y, z,’edgecol’,'gre’);









Copyright 1997-2008 © Karthik Narayanaswami. All rights reserved.
All opinions expressed on this website are personal and are not reflective of my employer's.
Indy Telecom & Industrial Media is proudly powered by
WordPress. Theme inspired by
Three Columns Almost Spring
·
50 queries. 4.152 seconds.