Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline RegCurry  
#1 Posted : 14 February 2019 21:51:16(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
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 Mathcad Data Entry.JPG

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 14 February 2019 22:17:16(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
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
thanks 1 user thanked Davide Carpi for this useful post.
on 15/02/2019(UTC)
Offline RegCurry  
#3 Posted : 14 February 2019 22:44:38(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
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
Offline uni  
#4 Posted : 14 February 2019 23:29:33(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
You can do it like this.

2019-02-15_01-28-01.png
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 15/02/2019(UTC)
Offline uni  
#5 Posted : 14 February 2019 23:44:13(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
More difficult way with using Script region.

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

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 15/02/2019(UTC)
Offline alyles  
#6 Posted : 14 February 2019 23:53:18(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 275
United States

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

Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
thanks 2 users thanked alyles for this useful post.
on 15/02/2019(UTC),  on 15/02/2019(UTC)
Offline Jean Giraud  
#7 Posted : 15 February 2019 00:03:53(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Regulation Go to Quoted Post
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
thanks 1 user thanked Jean Giraud for this useful post.
on 15/02/2019(UTC)
Offline Jean Giraud  
#8 Posted : 15 February 2019 00:10:56(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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)
Offline Jean Giraud  
#9 Posted : 15 February 2019 00:20:58(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
need more rows =


insert ...

Insert.PNG
Offline RegCurry  
#10 Posted : 15 February 2019 00:36:20(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

Thanks Alyel; that's what I was looking for. Thanks much
Clap

Edited by moderator 15 February 2019 01:04:35(UTC)  | Reason: marked as solved

Users browsing this topic
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.