updating matrix
Carrico, Paul
paul.carrico at esterline.com
Tue May 31 11:48:18 CEST 2011
Dear all
I've the following matrix :
A = [N1 N2 N3 .... Ni .... Nn ]' with n data
In an iterative process, the idea is to decrease the size of the matrix when the wanted value(integer) is found .
i = 1 -> size = n
i = 2 -> the ith value is removed => size = n-1
and so on up to n = 1
Is there a relevant way to do it without creating a temporary matrix B -> copying the upper part/lower part of the matrix -> removing A and renaming B in A ..... ?
The aim is both to limit the number of iterations (and to limit the time consuming) and to have a "clean" synthax !
Thanks for any advice
Regards
Paul
--------------------------------------------------------------------------------
Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110531/a1d3f3d0/attachment.htm>
More information about the users
mailing list