Advanced Octave A67 — Project protocol and requirements

by Giux GX-TXT, octave-en, scripts-en 2 min read

Advanced GNU Octave with GX-TXT · Module 12

Before generating data and adapting models, we define demand, assumptions and requirements. In this module we will build a synthetic study of two dynamic responses, from the publication of data to the communication of results.

Question and Protocol

We compare two conditions, A and B, in which an dimensionless response grows according to 1-exp(-k*t). In the generator model we choose k = 0,5 s⁻¹ for A and k = 0,8 s⁻¹ for B. We expect 11 times from 0 to 5 s, at 0.5 s intervals, and independent Gaussian noise with standard deviation assumed by 0.02. The seed will be 2026.

The quantities and noise are chosen to teach the method: they are not measures and do not describe a real experiment. In subsequent lessons we will generate data, we will control series, estimate parameters and communicate uncertainties and limits.

Check dependencies

The test uses GX-TXT dev112-P011-bis and GNU Octave 9.4.0. Import protocollo.m, register it and run it in the Runner.

gxtxt_api_require requires public APIs to publish and read datasets, numerical and graphical calculations. If an addiction is not available, the execution should not pretend that the project is ready. In the test the requests were accepted and the program prints the parameters of the protocol:

API availability does not show that the data has already been generated or that the model is suitable for a real phenomenon. Those are distinct stages of work.

Exercise

  1. What speeds characterize the conditions A and B in the generator?
  2. What is 0.02 in the protocol?
  3. Is API verification a scientific validation of the model?

Worked solution

  1. 0.5 and 0.8 s⁻¹.
  2. The standard deviation of synthetic noise, in the same dimensionless unit of the response.
  3. No: check availability of the required dependencies.

Download the Module 12 scripts (ZIP)

#GNU Octave #GX-TXT #GX-TXT public APIs

Other steps of this project

Leave a Reply

Your email address will not be published. Required fields are marked *