Effacer les filtres
Effacer les filtres

Anyone have idea of MPT toolbox?

14 vues (au cours des 30 derniers jours)
baruch
baruch le 9 Août 2014
Commenté : Star Strider le 23 Août 2014
Is there anyone having idea of MPT toolbox?

Réponse acceptée

Star Strider
Star Strider le 9 Août 2014
  6 commentaires
baruch
baruch le 23 Août 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 le 23 Août 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.

Connectez-vous pour commenter.

Plus de réponses (1)

Image Analyst
Image Analyst le 9 Août 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.

Catégories

En savoir plus sur Phase-Locked Loops dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by