data output

data output - 消息

#1 已发布: 2022/8/2 15:17:42
Prmtv

Prmtv

0个赞,共49个帖子。

组: User

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
#2 已发布: 2022/8/17 14:07:27
⠀

⠀

26个赞,共155个帖子。

组: User

I think I understood what you are trying to do. Take a look at this example.
data_output.sm (9.15 KiB)已下载 1418 次。

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.
#3 已发布: 2022/8/18 16:13:30
Prmtv

Prmtv

0个赞,共49个帖子。

组: User

Wrote

I think I understood what you are trying to do. Take a look at this example.
data_output.sm (9.15 KiB)已下载 1418 次。

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
#4 已发布: 2022/8/18 18:39:51
⠀

⠀

26个赞,共155个帖子。

组: User

As far as I understand there is no way to modify the values in the data input fields. Only by manually changing them yourself.
#5 已发布: 2022/8/18 20:38:06
⠀

⠀

26个赞,共155个帖子。

组: User

We are talking about SMath Viewer here Jean. This topic is out of your world.
#6 已发布: 2022/8/19 16:11:35
Prmtv

Prmtv

0个赞,共49个帖子。

组: User

Wrote

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)?
#7 已发布: 2022/8/20 16:15:57
⠀

⠀

26个赞,共155个帖子。

组: User

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.
  • 有新帖
  • 无新帖