Range variable or vectors

Range variable or vectors - How to input data values into a vector or range variable - Mensajes

#1 Publicado: 14/2/2019 15:51:16
RegCurry

RegCurry

0 me gusta en 57 mensajes.

Grupo: 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 Publicado: 14/2/2019 16:17:16
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
Andrey Ivashov 14/2/2019 18:47:00
#3 Publicado: 14/2/2019 16:44:38
RegCurry

RegCurry

0 me gusta en 57 mensajes.

Grupo: 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 Publicado: 14/2/2019 17:29:33
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

You can do it like this.

2019-02-15_01-28-01.png
Russia ☭ forever, Viacheslav N. Mezentsev
A 1 usuarios les gustó este mensaje
Andrey Ivashov 14/2/2019 18:46:00
#5 Publicado: 14/2/2019 17:44:13
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

More difficult way with using Script region.

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

Russia ☭ forever, Viacheslav N. Mezentsev
A 1 usuarios les gustó este mensaje
Andrey Ivashov 14/2/2019 18:46:00
#6 Publicado: 14/2/2019 17:53:18
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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
A 2 usuarios les gustó este mensaje
Andrey Ivashov 14/2/2019 18:46:00, frapuano 14/2/2019 19:23:00
#7 Publicado: 14/2/2019 18:03:53
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
Andrey Ivashov 14/2/2019 18:47:00
#8 Publicado: 14/2/2019 18:10:56
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 14/2/2019 18:20:58
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

need more rows =



insert ...

Insert.PNG
#10 Publicado: 14/2/2019 18:36:20
RegCurry

RegCurry

0 me gusta en 57 mensajes.

Grupo: User

Thanks Alyel; that's what I was looking for. Thanks much
  • Nuevos mensajes
  • Sin mensajes nuevos