data output

data output - Сообщения

#1 Опубликовано: 02.08.2022 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 Опубликовано: 17.08.2022 14:07:27
Wesly Centerwall

Wesly Centerwall

26 сообщений из 156 понравились пользователям.

Группа: User

I think I understood what you are trying to do. Take a look at this example.
data_output.sm (9 КиБ) скачан 40 раз(а).

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 Опубликовано: 18.08.2022 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 КиБ) скачан 40 раз(а).

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 Опубликовано: 18.08.2022 18:39:51
Wesly Centerwall

Wesly Centerwall

26 сообщений из 156 понравились пользователям.

Группа: 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 Опубликовано: 18.08.2022 20:38:06
Wesly Centerwall

Wesly Centerwall

26 сообщений из 156 понравились пользователям.

Группа: User

We are talking about SMath Viewer here Jean. This topic is out of your world.
#6 Опубликовано: 19.08.2022 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 Опубликовано: 20.08.2022 16:15:57
Wesly Centerwall

Wesly Centerwall

26 сообщений из 156 понравились пользователям.

Группа: 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.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений