1 Pages (4 items)
Matrix within a matrix not working inside for loop? - Messages
#1 Posted: 12/5/2023 4:35:23 AM
Why does this work:
![2023-12-04 15_32_13-SMath Solver 1.0.8348 - [Worksheet1.sm].png](/en-US/file/P4mUNZ/2023-12-04-15_32_13-SMath-Solver-1_0_8348---_Worksheet1_sm__png)
But this does not:
![2023-12-04 15_32_23-SMath Solver 1.0.8348 - [Worksheet1.sm].png](/en-US/file/VuBxw4/2023-12-04-15_32_23-SMath-Solver-1_0_8348---_Worksheet1_sm__png)
Seems like this should work.
What am I missing here?
Maybe someone has a better way of doing what I'm trying to do?
Worksheet1.sm (9 KiB) downloaded 51 time(s).
But this does not:
Seems like this should work.
What am I missing here?
Maybe someone has a better way of doing what I'm trying to do?
Worksheet1.sm (9 KiB) downloaded 51 time(s).
#2 Posted: 12/5/2023 12:46:51 PM
Hi. SMath do not fully support MDA (multiple dimension arrays). This is a way to handle this case
mda-assign.sm (10 KiB) downloaded 55 time(s).

Best regards.
Alvaro.
mda-assign.sm (10 KiB) downloaded 55 time(s).
Best regards.
Alvaro.
2 users liked this post
#3 Posted: 12/6/2023 12:03:30 AM
Thanks for the feedback.
#4 Posted: 12/6/2023 5:36:10 AM
WroteMaybe someone has a better way of doing what I'm trying to do ?
The Matlab pre-constructed array example via page(#) is simple in Smath.
Even more maneuverable ...
Jean
Utilities Matrix MDA.sm (66 KiB) downloaded 46 time(s).
1 Pages (4 items)
-
New Posts
-
No New Posts