1 Pages (8 items)
Matrix size defined by variables - Messages
#1 Posted: 3/23/2018 11:30:17 AM
Does anyone know if it is possible to define a variable which will determine the size of a matrix. From where on the created matrix is again an input and not an output.
For exaple:
n:=1 (number of rows)
m:=3 (number of koloms)
creates a matrix of 1 kolom and 3 rows as below
y:= [* * *]
where the '*' are emty and can be spicified by the user.
Beste regards,
Rens Servais
For exaple:
n:=1 (number of rows)
m:=3 (number of koloms)
creates a matrix of 1 kolom and 3 rows as below
y:= [* * *]
where the '*' are emty and can be spicified by the user.
Beste regards,
Rens Servais
#2 Posted: 3/23/2018 11:57:07 AM
#3 Posted: 3/23/2018 12:34:01 PM
#4 Posted: 3/23/2018 3:18:56 PM
#5 Posted: 3/24/2018 4:47:24 AM
WroteWroteDoes anyone know if it is possible to define a variable which will determine the size of a matrix.
Both ways: empty and '0'
Thanks Jean Giraud,
Your solution suits the best for me, but I can not reproduce it. See below. What do I do wrong?
Beste regards,
Rens
Matrix.sm (31 KiB) downloaded 41 time(s).
#6 Posted: 3/24/2018 7:13:25 AM
WroteI can not reproduce it
Do one of the following:
- press CTRL+M
- write mat(
- write mat and press the tabulation key
- on the right side of the windows, click on the first element of the Matrices toolbox
- use the function dialog (press CTRL+E or choose the Insert > Function menu item or click on the fx symbol from the toolbar) choose the Matrix and vector group and search mat (click on whatever item and press m), then double click it or click on the insert button
File not found. File not found.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
#7 Posted: 3/25/2018 11:10:14 PM
#8 Posted: 3/25/2018 11:28:48 PM
Plenty of matrix manipulation in there.
There are more and more, that should help.
Utilities Matrix Treasury_2 Copy.sm (109 KiB) downloaded 67 time(s).
Utilities Matrix Treasury_0 Copy.sm (376 KiB) downloaded 65 time(s).
Utilities Matrix Treasury_1 Copy.sm (372 KiB) downloaded 59 time(s).
There are more and more, that should help.
Utilities Matrix Treasury_2 Copy.sm (109 KiB) downloaded 67 time(s).
Utilities Matrix Treasury_0 Copy.sm (376 KiB) downloaded 65 time(s).
Utilities Matrix Treasury_1 Copy.sm (372 KiB) downloaded 59 time(s).
1 Pages (8 items)
-
New Posts
-
No New Posts