4.0

4.0 | 1 rating Rate this file 10 downloads (last 30 days) File Size: 2.14 KB File ID: #17740

geospace

by Edward Zechmann

 

26 Nov 2007 (Updated 03 Mar 2008)

Code covered by the BSD License  

This program outputs a geometric sequence of n-numbers from a to b.

Download Now | Watch this File

File Information
Description

geospace outputs a geometric sequence of n-numbers from a to b. If both a and b are positive or if both a and b are negative. Otherwise a pseudo-geometric sequence is calculated.

The geometric sequence can be increasing or decreasing.

flag controls whether the product factors increase from a to b or from b to a.

If the product factors are decreasing, then the geometric sequence is subtracted from b.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
29 Jan 2008 geoman geoman  
Please login to add a comment or rating.
Updates
01 Mar 2008

Fixed a bug. Now the program calculates a geometric sequence when both a and b are positive or when both a and b are negative. Otherwise a pseudo-geometric sequence is calculated.

03 Mar 2008

Improved the pseudo-geometric sequence.

Tag Activity for this File
Tag Applied By Date/Time
geometric sequence Edward Zechmann 22 Oct 2008 09:36:44
geometric series Edward Zechmann 22 Oct 2008 09:36:44
sequence Edward Zechmann 22 Oct 2008 09:36:44
logspace Edward Zechmann 22 Oct 2008 09:36:44
linspace Edward Zechmann 22 Oct 2008 09:36:44

Contact us at files@mathworks.com