Rank: Member Groups: Registered
Joined: 14/07/2022(UTC) Posts: 20
|
Hello. I use this for outputting data if/else. If the data is already entered in the matrix, then everything is fine. How can you get manual data entry instead of "..." with this choice? What do you need to replace the matrix "b" for this?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 02/04/2018(UTC) Posts: 132 Was thanked: 22 time(s) in 19 post(s)
|
I think I understood what you are trying to do. Take a look at this example. data_output.sm (10kb) downloaded 20 time(s).There is also a couple way to handle the input depending on if you work with SMath solver worksheets or with SMath Viewer EXE files.
|
|
|
|
Rank: Member Groups: Registered
Joined: 14/07/2022(UTC) Posts: 20
|
Originally Posted by: wb.c I think I understood what you are trying to do. Take a look at this example. data_output.sm (10kb) downloaded 20 time(s).There is also a couple way to handle the input depending on if you work with SMath solver worksheets or with SMath Viewer EXE files. Thanks, this is a good way for me. (I came up with method: inserted it instead of empty elements 0, and then the cycle if/else a or b.) I'm trying to work with SMath Viewer EXE files. Such a question appeared: How to replace b2 and b3 on 0, if selected "standard"?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 02/04/2018(UTC) Posts: 132 Was thanked: 22 time(s) in 19 post(s)
|
As far as I understand there is no way to modify the values in the data input fields. Only by manually changing them yourself.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 02/04/2018(UTC) Posts: 132 Was thanked: 22 time(s) in 19 post(s)
|
We are talking about SMath Viewer here Jean. This topic is out of your world.
|
|
|
|
Rank: Member Groups: Registered
Joined: 14/07/2022(UTC) Posts: 20
|
Originally Posted by: wb.c As far as I understand there is no way to modify the values in the data input fields. Only by manually changing them yourself. thank for the answer. Another question: How can I display data d1 and d2 if the matrices are of different sizes (for example, there will be a different number of columns or data will be in different columns)? Edited by user 19 August 2022 22:13:09(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 02/04/2018(UTC) Posts: 132 Was thanked: 22 time(s) in 19 post(s)
|
That can be a bit tricky because SMath Viewer doesn’t display matrices at all. You need to use a table extension or display the values in a plot. The table region is nice, but has its limitations. It doesn’t handle variable inputs that well within the Viewer.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.