Anyone have idea of MPT toolbox?

조회 수: 16 (최근 30일)
baruch
baruch 2014년 8월 9일
댓글: Star Strider 2014년 8월 23일
Is there anyone having idea of MPT toolbox?

채택된 답변

Star Strider
Star Strider 2014년 8월 9일
  댓글 수: 6
baruch
baruch 2014년 8월 23일
Sir I want to ask question.I have a matrix A=[2 3;5 6] and then I have another matrix A1=[3 4 5;6 7 8;0 0 1].I want to insert my first row of matrix A (i.e [2 3])into third row of matixA1 in such a way that third row becomes[2 3 1].
Star Strider
Star Strider 2014년 8월 23일
I created matrix ‘R’ to leave your original A1 as it was:
A=[2 3;5 6];
A1=[3 4 5;6 7 8;0 0 1];
R = A1;
R(3,1:2) = A(1,:);
produces:
R =
3 4 5
6 7 8
2 3 1
All the sizes of the vectors and references have to match exactly, of course, but otherwise it is a straightforward replacement. Here, I replaced the first two column elements in row 3 of R with the two column elements in row 1 of A.
Apologise for the delay — GMT-6 here.

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

추가 답변 (1개)

Image Analyst
Image Analyst 2014년 8월 9일
Never heard of it. Is it the Mind Prediction Toolbox ? We're desperately in need of that, so if you have an idea to write one, and it works, I'll buy it. But I guess you don't have that (yet) or you would not even be asking your question in the first place because you would know the answer.

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by