π
<-

Display matrix rows and columns

Display matrix rows and columns

Unread postby victorio12345 » 12 Apr 2018, 10:24

I'd like to know how to display matrix columns. If you dou Matrix(1), the first row is displayed. But i don't know how to do the same but for tge column.
User avatar
victorio12345
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 20%
 
Posts: 3
Joined: 02 Nov 2017, 09:36
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: Display matrix rows and columns

Unread postby Extra44 » 12 Apr 2018, 10:48

Maybe by tranposing (column <-->lines)and then doing...
transposed_matrix(1) ?
But i dont know each instruction for that...
Then if you want a column do again a tranposing instruction.
User avatar
Extra44Premium
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 58.4%
 
Posts: 591
Images: 1
Joined: 20 Jan 2011, 00:00
Gender: Male
Calculator(s):
MyCalcs profile
Class: S.I.

Re: Display matrix rows and columns

Unread postby victorio12345 » 12 Apr 2018, 11:00

Extra44 wrote:Maybe by tranposing (column <-->lines)and then doing...
transposed_matrix(1) ?
But i dont know each instruction for that...
Then if you want a column do again a tranposing instruction.


The thing is that if you do [1 2 3]▶Matrix(1) it introduces your vector in the first row of your matrix. So if id like to do the same but for a column i dont know if it would be practical to transpose, insert and transpose again.
User avatar
victorio12345
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 20%
 
Posts: 3
Joined: 02 Nov 2017, 09:36
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: Display matrix rows and columns

Unread postby parisse » 12 Apr 2018, 14:18

In CAS, if m is your matrix with n rows, you can get or set column c with m[1..n,c]
For example m:=ranm(5,5); m[1..5,2] returns column 2, m[1..5,2]=seq(j,j,1,5) sets column 2.
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 86.1%
 
Posts: 3663
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: Display matrix rows and columns

Unread postby victorio12345 » 12 Apr 2018, 14:46

parisse wrote:In CAS, if m is your matrix with n rows, you can get or set column c with m[1..n,c]
For example m:=ranm(5,5); m[1..5,2] returns column 2, m[1..5,2]=seq(j,j,1,5) sets column 2.


That was what I was looking for! Thank you very much!
User avatar
victorio12345
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 20%
 
Posts: 3
Joined: 02 Nov 2017, 09:36
Gender: Not specified
Calculator(s):
MyCalcs profile


Return to Problèmes divers / Aide débutants

Who is online

Users browsing this forum: ClaudeBot [spider] and 5 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
871 utilisateurs:
>825 invités
>40 membres
>6 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)