augmenting matrix in MATLAB

조회 수: 15 (최근 30일)
Patience Shamaki
Patience Shamaki 2019년 8월 24일
댓글: David Hill 2019년 8월 24일
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
David Hill
David Hill 2019년 8월 24일
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;

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by