Features
Nelson is a complete environment for numerical computing. It combines a fast array language, a visual block-diagram modeller, a modern data-analysis toolkit, publication-quality graphics, and bridges to the tools you already use. More than 3,000 built-in functions cover everything from a quick calculation to a full simulation.
New to version 2.0? See what’s new in 2.0.
The language
- A familiar array syntax, with matrices, slicing, broadcasting, and vectorised operations, so that existing scripts run with few changes.
- A fast bytecode engine: your code runs on a compiled virtual machine with dedicated fast paths for real and complex scalars.
- Object-oriented programming with
classdef: value and handle classes, inheritance, properties, static methods, events, and enumerations. - Packages, imports, and argument validation for structuring larger projects.
- Operator and function overloading for custom behaviour.
- Modularity and external modules for organising and extending functionality.
Data types and analysis
- Core data types: doubles, integers, logicals, strings, characters, and a flexible, extensible type system.
- Advanced data structures: cell arrays, structs, and dictionaries.
- Tables and timetables for labelled, mixed-type data and real data wrangling.
- datetime and duration with sub-second precision, time zones, and time-aware plot axes.
- categorical arrays with grouped display and categorical plots.
Scientific computing
- 2-D and 3-D plotting: high-level commands for data visualisation. See the plot gallery.
- Linear algebra, full sparse-matrix support, and numerical solvers.
- ODE solvers: explicit, stiff, implicit, delay, and boundary-value problems with a familiar interface and an optional SUNDIALS backend.
- Fast Fourier Transform for frequency-domain analysis.
- Control systems and SLICOT integration for system modelling.
- Statistics and data-analysis functions.
- Image processing, and a NetCDF reader and writer.
Visual modelling with NFlow
- NFlow lets you build block diagrams, simulate them, and generate standalone C and Rust that match the model to machine precision. It supports causal and acausal modelling, several solvers, scopes, dashboards, and FMI and FMU co-simulation. (beta)
User interface and web
- Web desktop: the command window, editor, debugger, variable editor, and figures running in your browser, with a WebAssembly build.
- Interactive code editor with debugging.
- UI controls and the QML engine for modern interfaces.
Programming and interoperability
- Standalone applications: compile your programs into native executables that run without a Nelson installation and without a C or C++ toolchain.
- Build C and C++ on the fly for integration with compiled languages.
- C MEX API support and the Nelson Engine API.
- Foreign Function Interface (FFI) for calling shared libraries.
- Python integration and a Julia interface.
High-performance computing
- GPU computing: run array computations on the GPU through WebGPU, portably and without a CUDA dependency.
- Parallel computing across multiple cores.
- Message Passing Interface (MPI) for distributed computing.
Data handling and connectivity
- HDF5 I/O and MAT-file I/O for interoperable data files that other array-computing tools can read.
- JSON support for parsing and generating JSON.
- COM interface on Windows, and RESTful web services.