From: Christopher Creutzig <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Line between two points on a sphere
Date: Thu, 26 Jul 2012 08:41:00 +0200
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <>
References: <hopnd6$19c$> <hoqmkn$871$> <> <jum41g$q60$> <juma6d$mk0$> <jumap6$ote$> <juo7ib$aee$> <> <juon2c$2t6$>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: 1343284860 10111 (26 Jul 2012 06:41:00 GMT)
NNTP-Posting-Date: Thu, 26 Jul 2012 06:41:00 +0000 (UTC)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
In-Reply-To: <juon2c$2t6$>
Xref: comp.soft-sys.matlab:774954

On 25.07.12 13:59, Vinita wrote:

> That is great. i wanted to ask one thing though. If I dont do this part
>    sphere
>    alpha(0.1)
> but proceed with the rest of the code, would the points thus generated still lie on an invisible sphere.

Sure. They would also do that if you didn't plot anything at all, and
you can change the 4 in the randn(4,3) call to whatever number of points
you need (and the 3 to whatever number of dimensions you want).