r/desmos • u/Lopitario • 1d ago
Matrices 3D cube
https://www.desmos.com/calculator/mxxhqy9eezWas bored during school and made this
3
Upvotes
r/desmos • u/Lopitario • 1d ago
Was bored during school and made this
•
u/AutoModerator 1d ago
Matrices (Beta feature)
Please note that this does NOT refer to the Desmos Matrix calculator. This matrix update allows the creation and manipulation of matrices in the graphing calculator. Here are (most) features of matrices:
Get started
^T, and use functions likedet,rref, andtrace.MwithM[2;3].a+b for a=[1...5];b=[1...4].M, and writeM(1,2)to transform the point (1,2). You can do the same with a 3x3 matrix and a 3d point.More features
M, you can either writeM[3,4;1,2,3]orM[[3,4];[1,2,3]]. Leaving one of these elements returns the entire row/column. For example,M[1,2;]gets row 1,2 and keeps all the columns..rowsand.columns.Lists of matrices of varying sizes are possible. For example, having a 3x1 matrix and 2x2 matrix in the same list is allowed.
totalor sum a matrix list. You can however write a recursive function to do so, e.g.f(L, n) = {L.count = n: L[n], L[n] + f(L, n+1)}. Use it withf(L, 1).[2,3,4]and0will broadcast into 3 matrices:[2 0],[3 0], and[4 0].M.columns.countandM.rows.count, you can instead loop over the columns and rows directly. For example, to calculate the sum of all elements in a matrix, you can writetotal(v.columns.total for v = M.rows)Help and Examples
For more, refer to the following articles and example graphs:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.