Filter löschen
Filter löschen

Anyone have idea of MPT toolbox?

14 Ansichten (letzte 30 Tage)
baruch
baruch am 9 Aug. 2014
Kommentiert: Star Strider am 23 Aug. 2014
Is there anyone having idea of MPT toolbox?

Akzeptierte Antwort

Star Strider
Star Strider am 9 Aug. 2014
  6 Kommentare
baruch
baruch am 23 Aug. 2014
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 am 23 Aug. 2014
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Image Analyst
Image Analyst am 9 Aug. 2014
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.

Kategorien

Mehr zu Phase-Locked Loops 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