FACTOID # 14: North Carolina has a larger Native American population than North Dakota, South Dakota and Montana combined.
 
 Home   Encyclopedia   Statistics   States A-Z   Flags   Maps   FAQ   About 
   
 
WHAT'S NEW
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > GNU Octave
GNU Octave

GNU Octave
Maintainer: John W. Eaton
Stable release: 2.1.73  (March 27, 2006) [+/−]
Preview release: 2.9.14  (September 17, 2007) [+/−]
OS: Cross-platform
Use: Scientific computing
License: GNU General Public License
Website: http://www.octave.org/

Octave is a free computer program for performing numerical computations which is mostly compatible with MATLAB. It is part of the GNU project. Note that Octave is not a computer algebra system, but a tool for scientific computing. Image File history File links Octave_Sombrero. ... In software engineering, software maintenance is the process of enhancing and optimizing deployed software (software release), as well as remedying defects. ... A software release refers to the creation and availability of a new version of a computer software product. ... A software release refers to the creation and availability of a new version of a computer software product. ... An operating system (OS) is the software that manages the sharing of the resources of a computer and provides programmers with an interface used to access those resources. ... A cross-platform (or platform independent) programming language, software application or hardware device works on more than one system platform (e. ... Listed here are a number of computer programs used for performing numerical calculations: Baudline is a time-frequency browser for numerical signals analysis and scientific visualization. ... A software license is a legal agreement which may take the form of a proprietary or gratuitous license as well as a memorandum of contract between a producer and a user of computer software. ... The GNU logo The GNU General Public License (GNU GPL or simply GPL) is a widely-used free software license, originally written by Richard Stallman for the GNU project. ... A website (alternatively, Web site or web site) is a collection of Web pages, images, videos and other digital assets that is hosted on one or several Web server(s), usually accessible via the Internet, cell phone or a LAN. A Web page is a document, typically written in HTML... Clockwise from top: The logo of the GNU Project, the Linux kernel mascot Tux, and the BSD Daemon Free software is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with restrictions only... A computer program is a collection of instructions that describe a task, or set of tasks, to be carried out by a computer. ... Numerical analysis is the study of approximate methods for the problems of continuous mathematics (as distinguished from discrete mathematics). ... Not to be confused with Matlab Upazila in Chandpur District, Bangladesh. ... GNU (pronounced ) is a computer operating system composed entirely of free software. ... A computer algebra system (CAS) is a software program that facilitates symbolic mathematics. ... Scientific computing (or computational science) is the field of study concerned with constructing mathematical models and numerical solution techniques and using computers to analyze and solve scientific and engineering problems. ...

Contents

History

The project was conceived around 1988. At first it was intended to be a companion to a chemical reactor design course. Real development was started by John W. Eaton in 1992. The first alpha release dates back to January 4, 1993 and on February 17, 1994 version 1.0 was released. Year 1988 (MCMLXXXVIII) was a leap year starting on Friday (link displays 1988 Gregorian calendar). ... John W. Eaton is the initial and main author of Octave, a system for numerical computations with a language that is mostly compatible with MATLAB, but is available as a free software. ... Year 1992 (MCMXCII) was a leap year starting on Wednesday (link will display full 1992 Gregorian calendar). ... is the 4th day of the year in the Gregorian calendar. ... Year 1993 (MCMXCIII) was a common year starting on Friday (link will display full 1993 Gregorian calendar). ... is the 48th day of the year in the Gregorian calendar. ... Year 1994 (MCMXCIV) The year 1994 was designated as the International Year of the Family and the International Year of the Sport and the Olympic Ideal by the United Nations. ...


The name has nothing to do with musical octaves. Octave is the name of a former professor of one of the early authors of Octave who was known for his ability to quickly come up with good approximations to numerical problems. For other uses, see Octave (disambiguation). ...


Technical details

  • Octave is written in C++ using STL libraries.
  • Octave has an interpreter that interprets the Octave language.
  • Octave itself is extensible using dynamically loadable modules.
  • Octave interpreter works in tandem with gnuplot and Grace software to create plots, graphs, and charts, and to save or print them.

C++ (pronounced see plus plus, IPA: ) is a general-purpose programming language with high-level and low-level capabilities. ... [[Im[[Image:Example. ... The correct title of this article is . ... Grace is a WYSIWYG 2D plotting tool for the X Window System and Motif. ...

Octave, the language

The Octave language is an interpreted programming language. It is a structured programming language (an example of which is the C language) and supports many common C standard library constructs, and can be extended to support UNIX system calls and functions. However, it does not support passing arguments by reference. Computer programming (often simply programming) is the craft of implementing one or more interrelated abstract algorithms using a particular programming language to produce a concrete computer program. ... C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system. ... The C standard library is a now-standardised collection of header files and library routines used to implement common operations, such as input/output and string handling, in the C programming language. ... POSIX or Portable Operating System Interface[1] is the collective name of a family of related standards specified by the IEEE to define the application programming interface (API) for software compatible with variants of the Unix operating system. ...


Octave programs consist of a list of function calls or script. The language is matrix-based and provides various functions for matrix operation. It is not object-oriented, but supports data structures. This article or section should be merged with script programming language In computer applications, a script, roughly speaking, is a computer program that automates the sort of task that a user might otherwise do interactively at the keyboard. ... In mathematics, a matrix (plural matrices) is a rectangular table of elements (or entries), which may be numbers or, more generally, any abstract quantities that can be added and multiplied. ... Object-oriented programming (OOP) is a programming paradigm that uses objects and their interactions to design applications and computer programs. ... A binary tree, a simple type of branching linked data structure. ...


Its syntax is very similar to MATLAB, and carefully programming a script will allow it to run on both Octave and MATLAB.


Because Octave is made available under the GNU General Public License, it may be freely copied and used. The program runs under most Unix and Unix-like operating systems, as well as Microsoft Windows. The GNU logo The GNU General Public License (GNU GPL or simply GPL) is a widely-used free software license, originally written by Richard Stallman for the GNU project. ... Filiation of Unix and Unix-like systems Unix (officially trademarked as UNIX®) is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy. ... Diagram of the relationships between several Unix-like systems A Unix-like operating system is one that behaves in a manner similar to a Unix system, while not necessarily conforming to or being certified to any version of the Single UNIX Specification. ... An operating system (OS) is the software that manages the sharing of the resources of a computer and provides programmers with an interface used to access those resources. ... “Windows” redirects here. ...


Notable features

Command and variable name completion

Typing a TAB character on the command line causes Octave to attempt to complete variable, function, and file names. Octave uses the text before the cursor as the initial portion of the name to complete.

Command history

When running interactively, Octave saves the commands typed in an internal buffer so that they can be recalled and edited.

Data structures

Octave includes a limited amount of support for organizing data in structures. For instance:

 octave:1> x.a = 1; x.b = [1, 2; 3, 4]; x.c = "string"; octave:2> x.a x.a = 1 octave:3> x.b x.b = 1 2 3 4 octave:4> x.c x.c = string 
Short-circuit boolean operators

Octave's `&&' and `||' logical operators are evaluated in a short-circuit fashion (like the corresponding operators in the C language) and work differently than the element by element operators `&' and `|'. Short-circuit evaluation or minimal evaluation denotes the semantics of some boolean operators in some programming languages in which the second argument is only executed or evaluated if the first argument does not suffice to determine the value of the expression: when the first argument of and evaluates to false... The C Programming Language, Brian Kernighan and Dennis Ritchie, the original edition that served for many years as an informal specification of the language The C programming language is a low_level standardized programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie for use on the UNIX...

Increment and decrement operators

Octave includes the C-like increment and decrement operators `++' and `--' in both their prefix and postfix forms.

Unwind-protect

Octave supports a limited form of exception handling modeled after the unwind-protect form of Lisp. The general form of an unwind_protect block looks like this: “LISP” redirects here. ...

 unwind_protect body unwind_protect_cleanup cleanup end_unwind_protect 
Variable-length argument lists

Octave has a real mechanism for handling functions that take an unspecified number of arguments without explicit upper limit. To specify a list of zero or more arguments, use the special argument varargin as the last (or only) argument in the list.

 function s = plus (varargin) if (nargin==0) s = 0; else s = varargin{1} + plus (varargin{2:nargin}); endif endfunction 
Variable-length return lists

A function can be set up to return any number of values by using the special return value varargout. For example:

 function varargout = multiassign (data) for k=1:nargout varargout{k} = data(:,k); endfor endfunction 

MATLAB compatibility

Octave has been built with MATLAB compatibility in mind. It therefore shares many features with MATLAB: Not to be confused with Matlab Upazila in Chandpur District, Bangladesh. ... Not to be confused with Matlab Upazila in Chandpur District, Bangladesh. ...

  1. Matrices as fundamental data type.
  2. Built-in support for complex numbers.
  3. Powerful built-in math functions and extensive function libraries.
  4. Extensibility in the form of user-defined functions.

Some of the differences that do exist between Octave and MATLAB can be worked around using "user preference variables."[1] Not to be confused with Matlab Upazila in Chandpur District, Bangladesh. ...


See also

Free software Portal

Image File history File links Free_Software_Portal_Logo. ... Listed here are a number of computer programs used for performing numerical calculations: Baudline is a time-frequency browser for numerical signals analysis and scientific visualization. ...

External links

Wikimedia Commons has media related to:
GNU Octave diagrams
Wikibooks
Wikibooks has a book on the topic of

Image File history File links Commons-logo. ... Image File history File links Wikibooks-logo-en. ... Wikibooks logo Wikibooks, previously called Wikimedia Free Textbook Project and Wikimedia-Textbooks, is a wiki for the creation of books. ...

References

  1. ^ http://www.gnu.org/software/octave/FAQ.html#MATLAB-compatibility

  Results from FactBites:
 
GNU - Wikipedia, the free encyclopedia (2000 words)
The GNU project was announced publicly on September 27, 1983, on the net.unix-wizards [1] and net.usoft newsgroups.
GNU Hurd is the set of programs or services running on top of a microkernel (GNU currently uses the GNU Mach microkernel, but efforts to port Hurd to the L4 microkernel are currently ongoing).
The "GNU" in GNU Hurd indicates that it is a part of the GNU project, while "GNU/Hurd" distinguishes it as one of the two currently available GNU systems--that is, Linux-based GNU systems (or "GNU/Linux") as opposed to Hurd-based GNU systems (or "GNU/Hurd").
GNU Octave - definition of GNU Octave in Encyclopedia (326 words)
Octave is a free computer program for performing numerical computations, which is mostly compatible with MATLAB.
Octave is written in C++ using STL libraries.
Because Octave is made available under the GNU General Public License, it may be freely copied and used.
  More results at FactBites »

 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m