padadd

This is a function that concatenates data column arrays of possibly dissimilar sizes.
4,7K Downloads
Aktualisiert 8. Feb 2000

Keine Lizenz

This is a function that concatenates data column arrays of possibly dissimilar sizes. The undefined portions are padded with NaNs to make a viable rectangular matrix array. The main
idea is that data in 'x' is added to the data in 'A'

A third argument can be included to specify a column index in 'A' designating where to begin overwriting 'A' with 'x' and/or the appending of 'x' to 'A'.

One possible use is to plot the output vectors of many simulation runs which have varying lengths with one simple plot statement. This is usually better for managing large sets of related raw data.

Zitieren als

Dave Johnson (2024). padadd (https://www.mathworks.com/matlabcentral/fileexchange/209-padadd), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R11
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Cell Arrays finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen
Quellenangaben

Inspiriert: PADCAT

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0