Range variable or vectors

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

#1 Objavljeno: 14. 2. 2019. 15:51:16
RegCurry

RegCurry

0 svidjanja u 57 postova.

Grupa: 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 Objavljeno: 14. 2. 2019. 16:17:16
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Andrey Ivashov 14. 2. 2019. 18:47:00
#3 Objavljeno: 14. 2. 2019. 16:44:38
RegCurry

RegCurry

0 svidjanja u 57 postova.

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

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

You can do it like this.

2019-02-15_01-28-01.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 korisnika je svidelo ovu objavu
Andrey Ivashov 14. 2. 2019. 18:46:00
#5 Objavljeno: 14. 2. 2019. 17:44:13
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

More difficult way with using Script region.

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

Russia ☭ forever, Viacheslav N. Mezentsev
1 korisnika je svidelo ovu objavu
Andrey Ivashov 14. 2. 2019. 18:46:00
#6 Objavljeno: 14. 2. 2019. 17:53:18
Arie

Arie

94 svidjanja u 285 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Andrey Ivashov 14. 2. 2019. 18:46:00, frapuano 14. 2. 2019. 19:23:00
#7 Objavljeno: 14. 2. 2019. 18:03:53
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Andrey Ivashov 14. 2. 2019. 18:47:00
#8 Objavljeno: 14. 2. 2019. 18:10:56
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 14. 2. 2019. 18:20:58
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

need more rows =



insert ...

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

RegCurry

0 svidjanja u 57 postova.

Grupa: User

Thanks Alyel; that's what I was looking for. Thanks much
  • Novi postovi
  • Nema novih postova