Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Prmtv  
#1 Posted : 02 August 2022 21:17:42(UTC)
Prmtv


Rank: Member

Groups: Registered
Joined: 14/07/2022(UTC)
Posts: 20
Man
Russian Federation

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?

1.PNG

2.PNG

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline wb.c  
#2 Posted : 17 August 2022 20:07:27(UTC)
wb.c


Rank: Advanced Member

Groups: Registered
Joined: 02/04/2018(UTC)
Posts: 132
United States

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.
Offline Prmtv  
#3 Posted : 18 August 2022 22:13:30(UTC)
Prmtv


Rank: Member

Groups: Registered
Joined: 14/07/2022(UTC)
Posts: 20
Man
Russian Federation

Originally Posted by: wb.c Go to Quoted Post
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"?
1.PNG
Offline wb.c  
#4 Posted : 19 August 2022 00:39:51(UTC)
wb.c


Rank: Advanced Member

Groups: Registered
Joined: 02/04/2018(UTC)
Posts: 132
United States

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.
Offline wb.c  
#5 Posted : 19 August 2022 02:38:06(UTC)
wb.c


Rank: Advanced Member

Groups: Registered
Joined: 02/04/2018(UTC)
Posts: 132
United States

Was thanked: 22 time(s) in 19 post(s)
We are talking about SMath Viewer here Jean. This topic is out of your world.
Offline Prmtv  
#6 Posted : 19 August 2022 22:11:35(UTC)
Prmtv


Rank: Member

Groups: Registered
Joined: 14/07/2022(UTC)
Posts: 20
Man
Russian Federation

Originally Posted by: wb.c Go to Quoted Post
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

Offline wb.c  
#7 Posted : 20 August 2022 22:15:57(UTC)
wb.c


Rank: Advanced Member

Groups: Registered
Joined: 02/04/2018(UTC)
Posts: 132
United States

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.
Users browsing this topic
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.