Timeline for How can I convert my MATLAB code into WL code?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 10, 2019 at 7:12 | comment | added | Henrik Schumacher | Don't ever "extend" matrices, not even in Matlab. Super inefficient. | |
Dec 10, 2019 at 6:44 | history | edited | Henrik Schumacher | CC BY-SA 4.0 |
edited title
|
Dec 10, 2019 at 5:54 | history | edited | DisPxy | CC BY-SA 4.0 |
deleted 84 characters in body
|
Dec 10, 2019 at 4:31 | history | edited | m_goldberg | CC BY-SA 4.0 |
Improved formatting
|
Dec 10, 2019 at 4:01 | answer | added | asterix314 | timeline score: 10 | |
Dec 10, 2019 at 3:15 | history | edited | DisPxy | CC BY-SA 4.0 |
added 57 characters in body
|
Dec 10, 2019 at 3:14 | comment | added | DisPxy | @asterix314 Yes, but I should have added that number1, number2, and number3 change with j. which means that on {1,1} my number is 3, then j increments by one and now on {2,2} my number is 22.. etc. | |
Dec 10, 2019 at 3:01 | comment | added | asterix314 |
Do you want a matrix with 3 bands? For size 5 try: SparseArray[{Band[{1, 1}] -> number1, Band[{2, 1}] -> number2, Band[{1, 2}] -> number2 }, {5, 5}] // MatrixForm
|
|
Dec 10, 2019 at 2:45 | review | First posts | |||
Dec 10, 2019 at 4:31 | |||||
Dec 10, 2019 at 2:44 | history | asked | DisPxy | CC BY-SA 4.0 |