Range variable or vectors

Range variable or vectors - How to input data values into a vector or range variable - Сообщения

#1 Опубликовано: 14.02.2019 15:51:16
RegCurry

RegCurry

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

Группа: User

I am a long-time user of Mathcad. I cannot find a way to enter data into Smath. It seems range variables are not the same as in Mathcad. Do I need to enter data into a vector? If so, how do I define the vector of say 30 elements and then proceed to enter data into each of the 30 elements. All documentation provided does not make this clear. See attached image from Mathcad to see what I am trying to implement in Smath.

Thanks
Reg Mathcad Data Entry.JPG
#2 Опубликовано: 14.02.2019 16:17:16
Davide Carpi

Davide Carpi

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

Группа: Moderator

Hello Regulation,

look here.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Andrey Ivashov 14.02.2019 18:47:00
#3 Опубликовано: 14.02.2019 16:44:38
RegCurry

RegCurry

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

Группа: User

The Dist vector elements do not come from a formula. They are individual data points. Do I create a vector of 30 rows and then click on each element to enter the dats or is there a more convenient method like Mathcad where you just hit enter to go to the next element to enter that value?

Thanks
Reg
#4 Опубликовано: 14.02.2019 17:29:33
Вячеслав Мезенцев

Вячеслав Мезенцев

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

Группа: Moderator

You can do it like this.

2019-02-15_01-28-01.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Andrey Ivashov 14.02.2019 18:46:00
#5 Опубликовано: 14.02.2019 17:44:13
Вячеслав Мезенцев

Вячеслав Мезенцев

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

Группа: Moderator

More difficult way with using Script region.

2019-02-15_01-43-01.png

Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Andrey Ivashov 14.02.2019 18:46:00
#6 Опубликовано: 14.02.2019 17:53:18
Arie

Arie

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

Группа: User

Another option:

1. Press Ctrl+M
2. Enter size of matrix
3. Enter first element
4. press right arrow to proceed to next element
5. Continue until matrix is filled.

Yet another option:
1. Press Ctrl+M
2. Create 1x1 Matrix
3. Enter first element
4. Press , (comma) to create next element in vector.
5. Continue until you're finished.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
2 пользователям понравился этот пост
Andrey Ivashov 14.02.2019 18:46:00, frapuano 14.02.2019 19:23:00
#7 Опубликовано: 14.02.2019 18:03:53
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

If so, how do I define the vector of say 30 elements and then proceed to enter data into each of the 30 elements.


1. define your vector MyVector:=
2. In the place holder, click matrix in the palette3
3. 30rows, 1 col
4. fill-in if they don't exist from other instance

Age.PNG
1 пользователям понравился этот пост
Andrey Ivashov 14.02.2019 18:47:00
#8 Опубликовано: 14.02.2019 18:10:56
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

3. 30rows, 1 col


need more rows => put square cursor on the right
of the last value ... press , [coma]
more more more ... coma coma coma

you need less than commanded => backspace on unused place holder(s)
#9 Опубликовано: 14.02.2019 18:20:58
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

need more rows =



insert ...

Insert.PNG
#10 Опубликовано: 14.02.2019 18:36:20
RegCurry

RegCurry

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

Группа: User

Thanks Alyel; that's what I was looking for. Thanks much
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений