Changelog
Last updated
Was this helpful?
Last updated
Was this helpful?
All notable changes to this project will be documented in this file.
The format is based on .
Migrate sources to nelson-lang github organization.
quit
, exit
, startup.m
, finish.m
behavior reworked for compatibility.
JSON for Modern C++ version 3.11.3 used on all platforms.
{fmt} 10.1.1 (6f95000) used.
Fedora 39 CI support.
cellfun
did not check type of second input argument.
filter
1-D digital filter.
control system module (part 2):
freqresp
Evaluate system response over a grid of frequencies.
step
Simulate continuous time model of a state space model or transfer function.
lsim
Plot simulated time response of dynamic system to arbitrary inputs.
dc2
Convert model from discrete to continuous time.
c2d
Convert model from continuous to discrete time.
augstate
Append state vector to output vector.
kalman
Design Kalman filter for state estimation.
evalfr
Evaluate system response at specific frequency.
nyquist
Nyquist plot of frequency response.
ord2
Generate continuous second-order systems.
append
Group models by appending their inputs and outputs.
feedback
Feedback connection of multiple models.
parallel
Parallel connection of two models.
series
Series connection of two models.
ssdelete
Remove inputs, outputs and states from state-space system.
ssselect
Extract subsystem from larger system.
tzero
Invariant zeros of linear system.
tf2ss
Convert transfer function filter parameters to state-space form.
ss2tf
Convert state-space representation to transfer function.
minreal
Minimal realization or pole-zero cancellation.
ssdata
Access state-space model data.
tfdata
Access transfer function data.
gram
Controllability and observability Gramians.
hsvd
Hankel singular values of a state-space or transfer function model.
damp
Natural frequency and damping ratio.
balreal
Gramian-based balancing of state-space realizations.
lqry
Form linear-quadratic (LQ) state-feedback regulator with output weighting.
dlqr
Linear-quadratic (LQ) state-feedback regulator for discrete-time state-space system.
lqed
Discrete Kalman estimator design from continuous cost function.
lqe
Kalman estimator design for continuous-time systems.
lqr
Linear-Quadratic Regulator (LQR) design.
dare
Solve discrete-time algebraic Riccati equations.
care
Continuous-time algebraic Riccati equation solution.
ctrbf
Compute controllability staircase form.
ctrb
Controllability of state-space model.
obsv
Observability matrix.
obsvf
Compute observability staircase form.
acker
Pole placement gain selection using Ackermann's formula.
bdschur
Block-diagonal Schur factorization.
cloop
Close unity feedback loops.
compreal
Companion realization of transfer functions.
gensig
Create periodic signals for simulating system response.
hist
Histogram plot.
bar
Bar graph.
scatter
Scatter plot.
stem
Plot discrete sequence data.
stairs
Stairstep graph.
fill
2-D patch.
pie
legacy pie chart.
subsref
Subscripted reference.
subsasgn
Redefine subscripted assignment.
substruct
Create structure argument for subsasgn or subsref.
deal
Distribute inputs to outputs.
Intel compiler support.
axis limits recalculate with hggroup
.
axes
forces focus on current axe.
function_handle parenthese precedence.
patch
and fill
manages FaceAlpha
.
visibility title and labels.
object constructor must be in '@' directory and no more in parent directory (compatibility).
subsref
, subsasgn
compatibility with substruct
.
To display a percent sign, you need to use a double percent sign (%%) in the format string (compatibility).
French translation updated (100%, Thanks to weblate contributors)
Qt 6.6.1 on win64 CI build.
A = []; A(false) = zeros(3, 0)
did not return an empty matrix but an error.
private functions/folders support (to limit the scope of a function).
syntax extended to facilitate the creation of literal integers without loss of precision:
example: 18446744073709551615u64
, 18446744073709551615i64
(similar to rust syntax)
flintmax('like', p)
syntax added.
int64
, uint64
warning about double-precision.
isobject
Check whether the input is an object.
cell2mat
Convert cell array of matrices to single matrix.
kron
Kronecker tensor product.
strjust
Justify strings.
control system module (part 1):
dsort
: Sort discrete-time poles by magnitude.
dlyap
: Discret Lyapunov equation solution.
abcdchk
Verifies the dimensional compatibility of matrices A, B, C, and D.
ss
: State-space model.
tf
: Transfer function model (display, horzcat, vertcat, size).
isct
: checks if dynamic system model is in continuous time.
isdt
: checks if dynamic system model is in discret time.
isstatic
: checks if model is static or dynamic.
islti
: checks if variable is an linear model tf, ss or zpk.
issiso
: checks if dynamic system model is a single input and single output.
zero
: Zeros and gain of SISO dynamic system.
pole
: Poles of dynamic system.
bode
: Bode plot of frequency response, magnitude and phase data.
some modules (nig, modules_manager, help_browser) reworked to use private functions.
Windows 64 bit CI and release use Qt 6.6.0
help viewer using dark theme.
adjust position xlabel
on figure
.
all types including basic types can be overloaded.
overload is now fully compatible using '@' syntax and precedence.
all operators were reworked to support compatible overload.
.*
operator optimized.
conv2
optimized.
Boost 1.82 used on Windows.
Internals:
class
, function_handle
types reworked.
types order updated.
rework validator module.
functions finder reworked.
file watcher reworked.
operators reworked.
repmat
, ones
, NaN
, Inf
reworked.
function_handle
display is more compatible.
--withoutfilewatcher
executable argument. disable file watcher for current session.
<--FILE WATCHER REQUIRED -->
test_run option.
BS::thread_pool
v3.5.0
simdutf
to 3.2.9.
{fmt}
to 10.0.0.
fast_float
to 4.0.0.
cast
reworked to be more compatible.
colon
reworked to be more compatible (operator uses unary overload).
CMake 3.26.3 on Windows
Qt 6.5 support.
issorted
Determine if array is sorted.
num2cell
Convert array to cell array with consistently sized cells.
hggroup
Create group object.
colorbar('off')
deletes colorbar associated with the current axes.
waterfall
Waterfall plot.
ribbon
ribbon plot.
figure property: GraphicsSmoothing
Axes graphics smoothing.
text property: FontSmoothing
.
surf property: MeshStyle
.
chatGPT example.
graphics examples about 3D polygons:
utah teapot example.
nefertiti mask example.
stanford bunny example.
Windows installer: allow to install for current user (no administrator rights required).
figure
without axes has a color.
figure
can be created not visible.
grid minor
toggles the visibility of the minor grid lines.
mesh
reworked.
extraction on empty matrix for compatibility.
ones
, eye
, inf
, nan
allow negative index (replaced by 0) for compatibility.
Windows 64 bits version embeds Qt 6.5.
allows if
with empty statements
weboptions
did not manage HeaderFields as expected.
update cacert.pem
.
patch
Create patches of colored polygons.
ancestor
Ancestor of graphics object.
hexadecimal color code managed example: '#DDFF00'.
validatecolor
Validate color values.
Figure property Position
uses position based on bottom left position for compatibility.
internal: boost no more used to read/write json files.
internal: taglib library is optional.
version date updated with each build.
graphic hierarchy was not fully destroyed after close
or delete
.
labels were not displayed correctly when the logarithmic scale was enabled.
cmake project reworked. It should be easier to package Nelson on linux platforms (Thanks to @JohanMabille)
Debian package generated (beta - feedback welcome).
modulepath
reworked and extended.
C++ API: IsCellOfStrings(ArrayOf)
replaced by ArrayOf::isCellArrayOfCharacterVectors()
C++ API: header CheckHelpers.hpp
replaced by InputOutputArgumentsCheckers.hpp
C++ API: ToCellStringAsColumn
replaced by ArrayOf::toCellArrayOfCharacterColumnVectors
api_nelson
methods moved to type modules
Remove internal circular dependency about error and warning.
Exports minimum headers in package.
disp
, display
did no more support overloading.
image
did not save all values for XData
and YData
.
Github CI Monterey and Ubuntu 22.04 (dependencies install) fixed.
some warnings.
drawnow
: Update figures and process callbacks.
DrawLater
property added to figure
graphics object.
interp1
linear interpolation 1D.
Visible
property to figure
graphics object.
AlphaMap
and Colormap
properties added to Axes
graphics object.
LineStyleOrder
property of 'axes' used for plot
and plot3
.
ColorOrderIndex
and LineStyleOrderIndex
properties added to axes
graphics object.
Interpreter
property added to text
graphics object.
tex special characters support for text
and ticks
graphics object.
delete
for graphics objects.
imread
Read image from graphics file.
imwrite
Write image to graphics file.
imshow
Display image.
surface
Primitive surface plot.
mesh
Mesh surface plot.
meshz
Mesh surface plot with curtain.
CHANGELOG
0.7.x family.
Graphics objects property names check is strict (compatibility).
Some speed optimization with graphics objects.
surf
reworked to use surface
.
CTRL+C
was not catched on advanced cli for linux and macos.
colors in colorbar
were not in the good order.
warnings detected by CodeQL.
Macos BigSur Github CI support removed.
balance: Diagonal scaling to improve eigenvalue accuracy.
blkdiag
Create a block diagonal matrix from 2D matrices of different sizes.
control system module template.
mag2db
, db2mag
, pow2db
, db2pow
functions.
zp2tf
: Zero-pole to transfer function conversion.
dcgain
: Low-frequency (DC) gain of LTI system.
padecoef
: Padé approximation of time delays.
esort
: Sort continuous-time poles by real part.
lyap
: Continuous Lyapunov equation solution.
title bar on dark theme on Windows.
wrong output when reading a file with fscanf with size argument.
Legend color (and width) is not matching that of curve in figure.
anonymous function serialization '.^' and '^' are inversed.
overloading functions:
Anonymous functions
MacOs 13 ventura CI
openblas micromamba on macos required to link libgfortran
: bitand
, bitor
, bitxor
functions.
: Micromamba linux build fails after packages updates.
: Build with micromamba environment (linux and macOS)
: Close menu on figure can crash on linux.
: missing help files in linux package.
: bone
, cool
, copper
, hot
, jet
, pink
, turbo
, viridis
, white
colormaps.
: NumberTitle
property to figure
graphics object.
: pcolor
Pseudocolor plot.
: loglog
Log-log scale plot.
: default LineStyle for a line was wrong with marker.
: VariableCompleter was not filtered by prefix.