Implicit models, rational models, and complex response
Three independent exercises for declaring domain, branch and units: two Previews completed and a Padé case to retry after the fix.
GX-TXT DEV112 P011-bis
Load the data for all three cases
The CSV files are synthetic, with values reproducible from the formula of each exercise. Import each one into a separate Session from Acquisition → Generic CSV with the table.generic contract. Use Variables before Import current to assign units. In Curve Fitter choose the X/Y columns, press Add Dataset curve and keep all points and the source domain.
- rational_response.csv (unzip the archive first) has frequency in Hz and voltage in V.
- implicit_response.csv (unzip the archive first) has the two
x_mmandy_mmcoordinates in mm. - complex_response.csv (unzip the archive first) has frequency in Hz and real and imaginary parts in V. Load the real part as Y first.
Declare a rational Padé model
The 31 rows are generated by U(f) = (1.2 + 0.3f)/(1 + 0.08f) between 0 and 15 Hz. With the Y = f(X) orientation and the rational model, open Fit → Models and fitting → Rational / Padé model…. The denominator has constant term 1.
- Numerator degree / Denominator degree
- Polynomial degrees. Set 1 and 1, then use Apply degrees to coefficient controls if you changed them. The rows identify
a0,a1andb1. - Declared predictor minimum / maximum
- Declared physical domain. Use 0 and 15 Hz. Allow nontraining evaluation beyond fitted observations after checking the whole interval allows use outside the observations if the declaration permits it. Leave it off for the exercise.
- Relative denominator separation tolerance
- Required relative distance of the denominator from the problematic value. The test uses
1e-10. - Unit, Initial, Lower, Upper, Fixed
- Fill in the free parameters
a0with 1.1 V and limits 0.1 – 3,a1with 0.25 V·s and limits 0.001 – 0.9,b1with 0.065 s and limits 0.001 – 0.2. In Unit you can writeV,V*s,s. Keep Fixed off. The denominator stays at least 1 over the domain and for all allowed coefficients.
Valid rational declaration returned Valid formula. Apply rational model closed the dialog. Cancel discards the changes. Two runs of Preview fit in P011-bis return Too many rational pole diagnostics. Checking the solver poles and the estimates must be repeated after the fix. The coefficients 1.2, 0.3 and 0.08 are the values used to generate the data.
Fit the positive branch of a circle
The 21 rows follow the positive root of 9-x*x on −2.5…2.5 mm. Select the implicit model and open Implicit equation and branch…. Use x*x+y*y-r*r, r parameter in mm, 2.9 initial value, 2.6 and 3.6 limits. Remove the unneeded sample rows with Remove. Add parameter creates rows for the formula symbols.
- Equation residual unit is
mm^2. Equation residual modealgebraicuses the equation value.normalized_algebraicuses the declared physical reference in Physical reference value in equation units. The reference defines the scale of the equation. - Response bracket minimum / maximum at 0 and 4 mm enclose the positive branch. Independent domain minimum / maximum at −2.5 and 2.5 mm bound X.
- I declare a continuous response branch in this bracket and domain : tick it after checking that the minimum radius remains greater than the maximum |X| and that the positive root stays within the bracket. Without this check, the GUI asks you to declare a continuous branch.
Click Valid units and formula, then Apply formula and Preview fit. The test returned r = 3 mm and an equation RMSE of about 1.38 × 10⁻¹⁵ mm². The units indicate that the residual is measured on the quadratic equation. To view the curve, use the branch representation in the Fit & Plot tab.
Fit the real and imaginary parts together
The 40 rows represent H(f)=a/(1 +j f/f r) at frequencies from 1 to 40 Hz. Choose the model complex_response model and open Joint complex responses…. Use Frequency symbol f. In the first Physical channel leave Include active, ID channel1 and Physical unit V. For channels 2 and 3, the checkbox adds a pair of variables to the fit with shared parameters. In this test they remain excluded.
- Real expression
a/(1+(f/fr)^2)and Imaginary expression-a*(f/fr)/(1+(f/fr)^2). - Input
cartesianwithreal_vandimag_v(in imported CSVv0002andv0003).polar_linearuses linear magnitude and phase.polar_db20converts the magnitude to db20 input reference. The phase uses Phase unitdegorrad. - Displayed channel ID identifies the channel shown. Source Y projection chooses
real,imaginary,magnitudeordb20. Fordb20set the display reference in the channel unit. - Absolute Cartesian covariance with Shared matrix entries below uses a shared matrix in real, imaginary order. Enter
0.0001 0; 0 0.0001in V². Separate terms with spaces and rows with semicolons. Confirm the order and units. The Gaussian innovations checkbox declares the assumption used for conditional intervals and is cleared in this example. afree parameter in V, initial value 0.9 and limits 0.2 – 3.frin Hz, initial value 7 and limits 2 – 20.
Choose Validate complex model, Apply complex model and Preview fit. The test returns a ≈ 1 and fr ≈ 8 Hz. Read the terms of the joint response in the report and use the projection to inspect the curve. The single physical RMSE field is reported as not applicable in the tested joint calculation.





