Rank: Advanced Member Groups: Registered
Joined: 10/02/2019(UTC) Posts: 56 Location: Colorado
|
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
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
Hello Regulation, look here. |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/02/2019(UTC) Posts: 56 Location: Colorado
|
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
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,493 Was thanked: 1274 time(s) in 745 post(s)
|
You can do it like this. |
Russia ☭ forever Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,493 Was thanked: 1274 time(s) in 745 post(s)
|
More difficult way with using Script region. |
Russia ☭ forever Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 275 Was thanked: 91 time(s) in 57 post(s)
|
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. Edited by user 14 February 2019 23:55:55(UTC)
| Reason: Not specified |
|
2 users thanked alyles for this useful post.
|
on 15/02/2019(UTC), on 15/02/2019(UTC)
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: Regulation 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
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: Jean Giraud 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)
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: Jean Giraud need more rows = insert ...
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/02/2019(UTC) Posts: 56 Location: Colorado
|
Thanks Alyel; that's what I was looking for. Thanks much Edited by moderator 15 February 2019 01:04:35(UTC)
| Reason: marked as solved
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.