augmenting matrix in MATLAB

14 Ansichten (letzte 30 Tage)
Patience Shamaki
Patience Shamaki am 24 Aug. 2019
Kommentiert: David Hill am 24 Aug. 2019
Please I am trying to estimate a parameter and I want to augment the orginal state matrix(36001X8) with the parameter by adding two more columns of the parameter(to make it 3600X10) so that I can plot my original and estimates on same graph, how do I go about it?
  1 Kommentar
David Hill
David Hill am 24 Aug. 2019
if the additional parameters are already column vectors (p1 and p2), you should only have to add them onto your orginal matrix.
M(:,9)=p1;
M(:,10)=p2;

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Graph and Network Algorithms finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by