Anyone have idea of MPT toolbox?

14 visualizaciones (últimos 30 días)
baruch
baruch el 9 de Ag. de 2014
Comentada: Star Strider el 23 de Ag. de 2014
Is there anyone having idea of MPT toolbox?

Respuesta aceptada

Star Strider
Star Strider el 9 de Ag. de 2014
  6 comentarios
baruch
baruch el 23 de Ag. de 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 el 23 de Ag. de 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.

Iniciar sesión para comentar.

Más respuestas (1)

Image Analyst
Image Analyst el 9 de Ag. de 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.

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by