Advanced GNU Octave with GX-TXT
by Giux 84 articles last on November 21, 2026 0 comments
Use the public APIs of GX-TXT with GNU Octave in 14 modules and 84 lessons. The course takes you from the Octave Bridge and Datasets to reproducible scientific analysis.
This course builds on the introductory GNU Octave course in GX-TXT. You should already be familiar with .m scripts, Sessions, and basic API calls. Each lesson identifies its test environment and API requirements.
Course contents
Module 01 · The Octave Bridge and robust script design
Declare public API requirements and check versions, types, missing values and Bridge errors.
Module 02 · Complex Datasets and scalable reading
Organize variables and metadata, read Datasets in blocks, and compare acquisitions using consistent units and references.
Module 03 · Advanced publication and transformations
Publish Datasets and files, manage output identities, and document the provenance of derived results.
Module 04 · Advanced numerical computing and linear algebra
Assess stability and conditioning, apply decompositions and regularization, and study model sensitivity.
Module 05 · Statistics and uncertainty
Compare robust estimators, propagate uncertainty, and document assumptions, intervals and the limits of inference.
Module 06 · Fitting and scientific models
Set up nonlinear models and constraints, examine residuals, and save the settings needed to reuse a fit.
Module 07 · Advanced scientific visualization
Build a PlotSpec with axes, uncertainty and annotations. Explore three-dimensional fields and compare figure variants.
Module 08 · Time series and signal analysis
Handle irregular sampling and gaps. Apply filters and compare spectra, delays and spectrograms.
Module 09 · Dynamics, optimization and physical models
Study multivariate dynamical systems, sensitivity and solver choices. Estimate ODE parameters under physical constraints.
Module 10 · Session services and shared resources
Inspect Session resources and API descriptors, and manage Job progress, cancellation and resources.
Module 11 · Maintainable and reproducible Octave projects
Organize scripts and helper functions, track configuration and versions, and check calculations with a debugger and numerical tests.
Module 12 · Final project: an integrated scientific lab
Follow the complete workflow, from the protocol and data publication to checking estimates and writing the report.
Module 13 · Three-dimensional visualization and scientific examples
Explore trajectories, RLC responses, phase spaces and spectrograms. Organize the figures in a navigable atlas.
Module 14 · COVID-19 in Italy: data, memory and responsibility
Read pandemic mortality sources and compare periods and regions. Distinguish all-cause mortality, certified COVID deaths and surveillance data.
Project log 84
- Nov 21, 2026 Advanced Octave A75 — Dynamical systems in phase space Three dynamic variables can be represented as a trajectory in phase space. The Lorenz system offers an example rich in forms, but a figure…
- Nov 21, 2026 Advanced Octave A81 — Geography of the waves and a 3D surface The pandemic did not hit all the territories at the same time and with the same intensity. A table per month helps to observe…
- Nov 21, 2026 Advanced Octave A82 — Age, sex and demographic inequalities Counts tell how many people have died; to compare groups of different sizes it is also necessary to consider the population. We examine some…
- Nov 21, 2026 Advanced Octave A83 — All-cause mortality, certified COVID deaths and surveillance Different numbers of deaths are circulated during the pandemic. They are not necessarily in contradiction: they often answer different questions, they use different sources…
- Nov 21, 2026 Advanced Octave A84 — A reproducible public account In 2020 the pandemic crossed the families, the hospitals and the Italian communities. Each number of this lesson concerns people: a chart can help…
- Nov 21, 2026 Advanced Octave A73 — Optimization landscapes and 3D trajectories A goal function can be seen as a landscape: looking for a minimum means moving towards a lower area. We build a surface, a…
- Nov 21, 2026 Advanced Octave A74 — RLC response surfaces How does the response of a circuit change to both frequency and resistance? A 3D surface makes the effect of damping visible; a 2D…
- Nov 21, 2026 Advanced Octave A76 — 3D spectrogram of a varying signal The same time-frequency matrix can become a surface or a chromatic map. We compare the two representations for a synthetic chirp and see what…
- Nov 21, 2026 Advanced Octave A77 — Demographic surfaces by age, time and mortality Behind each point of these graphs there is a person, a family, a story. We use ISTAT data on the deaths of residents in…
- Nov 21, 2026 Advanced Octave A78 — A navigable scientific atlas A collection of figures is useful when each view retains the link with scientific demand, data and method. The Atlas brings together the examples…
- Nov 21, 2026 Advanced Octave A79 — The sources and people behind the numbers The pandemic left deep mourning in Italy. Every death represented in a table concerns a person and a community; reading carefully definitions is a…
- Nov 21, 2026 Advanced Octave A80 — 2020 compared with previous years To understand the impact of pandemic on general mortality, we compare the monthly deaths of 2020 and 2021 with the same month of previous…
- Nov 21, 2026 Advanced Octave A65 — Debugging and diagnosing a pipeline A debugger allows you to stop before an operation and observe the status of the program. We use it to locate two carriers with…
- Nov 21, 2026 Advanced Octave A66 — Project versions and provenance To reproduce a result it is not enough to store a figure: the version of the program, the configuration and the identity of the…
- Nov 21, 2026 Advanced Octave A67 — Project protocol and requirements Before generating data and adapting models, we define demand, assumptions and requirements. In this module we will build a synthetic study of two dynamic…
- Nov 21, 2026 Advanced Octave A68 — Data preparation and publishing Now we turn the A67 protocol into two Datasets. The data are artificially generated: to call them observations or measures in the project means…
- Nov 21, 2026 Advanced Octave A69 — Data preparation and validation Before comparing two conditions we verify that the observations are legible, finite and related to the same times. We report the unusual values without…
- Nov 21, 2026 Advanced Octave A70 — Estimation, comparison and uncertainty Now we draw the speeds of the two synthetic answers and compare the adaptation with a straight. The numerical uncertainty must always be accompanied…
- Nov 21, 2026 Advanced Octave A71 — Plots and scientific reporting A figure and a relationship must tell the same result, declaring data, method and limits. We gather synthetic observations and project forecasts in a…
- Nov 21, 2026 Advanced Octave A72 — Reproduction and publication handoff A reproducible project allows you to remake the essential steps and compare the results. We create a new Session, regenerate the two synthetic series…
- Nov 21, 2026 Advanced Octave A50 — Sensitivity to parameters and initial conditions How much does a prediction change if a parameter varies slightly? A local numerical derivative helps to respond close to a nominal value, without…
- Nov 21, 2026 Advanced Octave A51 — Stiff systems and solver choices When a system contains phenomena with very different times, an explicit solutor may have to use very small steps even after the fast phenomenon…
- Nov 21, 2026 Advanced Octave A53 — Constrained problems and physical conditions A bond can incorporate physical knowledge into the estimate, but a wrong range can prevent the model from adapting to data. We see both…
- Nov 21, 2026 Advanced Octave A57 — Scientific reference libraries A scientific library can collect spectra and reference metadata. Before using a correspondence, however, it is necessary to identify the source and verify its…
- Nov 21, 2026 Advanced Octave A58 — Documentation and descriptors from the Bridge To use an API reliably, you need to know which operations and contracts belong to the installed version. The Documentation Browser allows you to…
- Nov 21, 2026 Advanced Octave A59 — Job progress and cancellation In a block processing it is useful to communicate the phase and how many blocks have been completed. Early arrest also requires to declare…
- Nov 21, 2026 Advanced Octave A60 — Resource policies and parallelism Splitting a work in blocks helps to control memory and advancement. The subdivision, however, does not imply that the blocks are executed in parallel:…
- Nov 21, 2026 Advanced Octave A61 — Multi-file projects and helper functions When a program grows, separating the input point from the support functions makes the responsibility of each file more clear. We use a registered…
- Nov 21, 2026 Advanced Octave A62 — Typed parameters and configuration An explicit configuration makes an analysis repeatable and allows you to identify incompatible parameters before producing results. We compare two scenarios with the same…
- Nov 21, 2026 Advanced Octave A63 — Error handling and resource cleanup An error during an analysis should not leave unnecessarily recorded resources or hide the initial cause. We simulate a size error and check the…
- Nov 21, 2026 Advanced Octave A64 — Numerical tests and tolerances A scientific result can be controlled through properties that must remain true, such as the preservation of a quantity. We build audits on the…
- Nov 21, 2026 Advanced Octave A41 — Fields and three-dimensional representations A surface allows to represent a value that depends on two coordinates. We build a synthetic Gaussian in Octave and visualize it with the…
- Nov 21, 2026 Advanced Octave A42 — Variants, output files and comparative reading Two graphs can represent the same samples with different visual choices. We compare them by maintaining identical data, units and limits, so the difference…
- Nov 21, 2026 Advanced Octave A43 — Irregular sampling and gaps Before applying an algorithm designed for equidistant samples, we control time distances. A long range can indicate a gap and requires an explicit decision…
- Nov 21, 2026 Advanced Octave A44 — Filters and frequency response A filter does not only eliminate noise: change the amplitude and phase of the signal components. We analyze a simple moving average before entrusting…
- Nov 21, 2026 Advanced Octave A49 — Multivariate dynamical systems A dynamic model can describe quantities that are transformed into each other. We simulate a simple network A → B → C and check…
- Nov 21, 2026 Advanced Octave A52 — Parameter estimation from an ODE model A dynamic model becomes more useful when we compare its predictions with observations. We design two parameters of a synthetic decay and check the…
- Nov 21, 2026 Advanced Octave A54 — Model comparison and validation A model can adapt very well to the data used to estimate it and predict worse new data. We separate training and test in…
- Nov 21, 2026 Advanced Octave A55 — Inspecting and summarizing a Session Before using a resource it is useful to verify that it is present in the current session and to know its identity. The Inspection…
- Nov 21, 2026 Advanced Octave A56 — Workspaces and interactive resources Workspaces retain the status of an activity managed by a provider; interactive documents display persistent identity and resources. Let's start from their list and…
- Nov 21, 2026 Advanced Octave A33 — Constraints and shared parameters A fit can impose that some sizes are known or that more series share a parameter. These choices reduce the degrees of freedom, but…
- Nov 21, 2026 Advanced Octave A34 — Residuals, weights and model diagnostics An adapted curve may seem convincing even when its errors show a systematic structure. The residuals and their scale with respect to the declared…
- Nov 21, 2026 Advanced Octave A36 — Public recipes and fit reuse A recipe describes a accepted fit so that you can control dependencies and explicitly request a new execution. Acquisition, validation and re-execution are distinct…
- Nov 21, 2026 Advanced Octave A45 — Power spectra and windows A finitely applied FFT distributes the energy between discrete frequencies. The window and normalization influence the result: we compare two estimates of the spectral…
- Nov 21, 2026 Advanced Octave A46 — Cross-channel correlation and delay Two sensors can observe the same phenomenon at different times. A correlation calculated on candidate delays can help to estimate the timeline, provided that…
- Nov 21, 2026 Advanced Octave A47 — Spectrograms and varying frequencies A FFT on the entire signal indicates which frequencies are present, but hides when they appear. We analyze a signal whose frequency grows over…
- Nov 21, 2026 Advanced Octave A48 — A repeatable signal pipeline A repeatable analysis connects data, parameters, indicators and representation. We repeat the filtered signal in A44, check the sampling and produce a persistent graph.
- Nov 21, 2026 Advanced Octave A25 — Robust estimation and unusual observations Compare median, median and MAD in Octave to observe the effect of an extreme value on a small sample.
- Nov 21, 2026 Advanced Octave A35 — Comparing model families and complexity A model with multiple parameters can better adapt to the points used for fit, but numerical improvement is not enough to demonstrate its scientific…
- Nov 21, 2026 Advanced Octave A37 — Complex PlotSpecs and validation A persistent scientific chart can connect multiple series to their Datasets, keeping variables, axes and options identifiable. A valid specification is the starting point;…
- Nov 21, 2026 Advanced Octave A38 — Multiple axes and scale transformations A graph can show different sizes on two vertical axes, but this choice requires special attention: heights and visual intersections depend on scales and…
- Nov 21, 2026 Advanced Octave A39 — Uncertainties and error bars A measure is not only a number: it is also necessary to declare how its variability is evaluated. In this lesson we represent five…
- Nov 21, 2026 Advanced Octave A40 — Annotations and regions of interest A reference line and a highlighted band help to read a chart without altering the measurements. The annotations must make the comparison clearer, leaving…
- Nov 21, 2026 Advanced Octave A26 — Linear propagation of uncertainty Propagate uncertainties with a jacobiana and a matrix of covariance, then verify the result of the Bridge in Octave.
- Nov 21, 2026 Advanced Octave A27 — Reproducible Monte Carlo simulation Simula ingress related to a declared seed and compares in Octave the result Monte Carlo with the theoretical value.
- Nov 21, 2026 Advanced Octave A28 — Bootstrap and intervals Sample observations in Octave and interpret the percentile range obtained for the sample average.
- Nov 21, 2026 Advanced Octave A29 — Hypothesis testing and multiple comparisons Run two Welch tests in Octave and compare the results with a correct threshold for the multiplicity of tests.
- Nov 21, 2026 Advanced Octave A30 — Interpretable statistical reports Document the meaning of statistics using the GX-TXT semantics service and recognize the fields applicable to data.
- Nov 21, 2026 Advanced Octave A31 — Model catalog and parameters Before adapting a model to data it is necessary to know what it represents, what parameters it requires and what hypotheses it uses. Curve…
- Nov 21, 2026 Advanced Octave A32 — Nonlinear fitting and initialization In a non-linear fit, the initial values can influence research. Comparing more reasonable initializations is a useful control, although without guaranteeing by itself to…
- Nov 21, 2026 Advanced Octave A11 — Units and dimensional compatibility Check dimensional compatibility before converting units to GX-TXT. Check in Octave which conversions are allowed.
- Nov 21, 2026 Advanced Octave A14 — Batch publishing and atomicity It publishes two synthetic series with a batch request and controls the receipt and datasets created in GX-TXT.
- Nov 21, 2026 Advanced Octave A16 — Reproducible transformations Plan a projection with Dataset Transform and verify that the derived Dataset contains the expected rows.
- Nov 21, 2026 Advanced Octave A19 — Numerical errors and stability Compare two orders in mobile comma and check through the GX-TXT Bridge as rounding influences the result.
- Nov 21, 2026 Advanced Octave A20 — Ill-conditioned systems Use the air conditioning number to assess how little data disruption changes the solution of a linear system.
- Nov 21, 2026 Advanced Octave A21 — Decompositions and effective rank Calculate the SVD through the Bridge, compare two rank thresholds and verify the reconstruction error.
- Nov 21, 2026 Advanced Octave A22 — Weighted least squares and regularization Compare minimum squares weighed and adjusted in Octave and see how the result changes by introducing a penalty.
- Nov 21, 2026 Advanced Octave A23 — Optimization with callbacks Record an Octave target function as a callback and check the minimum returned from the GX-TXT numerical service.
- Nov 21, 2026 Advanced Octave A24 — Derivatives and multivariate sensitivity Calculate a numerical jacobiana in GX-TXT and compare it with the analytic derivatives of a two-output model.
- Nov 21, 2026 Advanced Octave A02 — Dynamic availability and compatibility Check which public APIs and operations expose the Octave Bridge of your GX-TXT installation and build a dependency matrix.
- Nov 21, 2026 Advanced Octave A03 — Types and shapes across the Bridge Follow a matrix and climb through the Octave Bridge of GX-TXT and compares type, size and values before and after calculation.
- Nov 21, 2026 Advanced Octave A04 — Empty values, nulls and missing data Distinguish empty containers and missing data in Octave. See what the Bridge GX-TXT returns when you pass an empty matrix.
- Nov 21, 2026 Advanced Octave A06 — Script context, parameters and identity Set a parameter in the GX-TXT Runner and use the Job Octave context to identify the script and reproduce the results.
- Nov 21, 2026 Advanced Octave A12 — Dataset groups and comparison between acquisitions Ask Dataset Groups in GX-TXT and use Octave to compare two acquisitions with the same numerical summary.
- Nov 21, 2026 Advanced Octave A13 — Controlled incremental publishing Publish a synthetic block dataset from Octave Bridge and check the number of rows after finalization in GX-TXT.
- Nov 21, 2026 Advanced Octave A15 — Identity policies and reruns Repeat a calculation in Octave and verify the controlled replacement of the same Dataset in GX-TXT with replace_owned.
- Nov 21, 2026 Advanced Octave A17 — Provenance of derived results Publish from Octave a synthetic derivative series and reread the metadata that connect it to the Source Dataset in GX-TXT.
- Nov 21, 2026 Advanced Octave A18 — Output files and managed publishing Create a text report in Octave, post it in Session GX-TXT and check the file receipt and footprint.
- Nov 21, 2026 Advanced Octave A01 — API contracts and explicit requirements Learn how to declare public API requirements in GX-TXT, read Octave Bridge descriptors and check the required script operations.
- Nov 21, 2026 Advanced Octave A05 — Bridge errors and controlled recovery Intercept a Octave Bridge error in GX-TXT and distinguish an API absent from an unknown operation to manage recovery in a controlled manner.
- Nov 21, 2026 Advanced Octave A07 — Extended schema and variable roles Publish a synthetic series in GX-TXT and use the Octave Bridge to inspect its Dataset schema, including identifiers, units, and variable roles.
- Nov 21, 2026 Advanced Octave A09 — Series quality and alignment Align two series on different grids in Octave, check the shared range and interpret the interpolated values.
- Nov 21, 2026 Advanced Octave A08 — Block reads and incremental statistics Read a GX-TXT block dataset and update media and variance in Octave without charging the whole series in memory.
- Nov 21, 2026 Advanced Octave A10 — Metadata and scientific provenance Document the origin of a GX-TXT Dataset by writing a note with Octave and verify that the rereaded text coincides with the original.