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 corradolvr  
#1 Posted : 14 January 2015 18:12:43(UTC)
corradolvr


Rank: Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 19
United States
Location: WA

Was thanked: 1 time(s) in 1 post(s)
What I'd like to do is put in one set of equations to evaluate 6 sets of inputs. So I would get F.1i = {x,x,x,x,x,x,}. I hope this makes sense. Sorry I couldn't really find what I was looking for already, although I'm sure someone has already been through this.

Ex.

N:=6 i:=0..(N-1) m=1

F.1i:={0,3,5,3,5,2}

F.1i/m=a

a:={0,3,5,3,5,2}

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

Offline Davide Carpi  
#2 Posted : 15 January 2015 01:20:16(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,654
Man
Italy
Location: Italy

Was thanked: 1340 time(s) in 879 post(s)
I miss a point, what is the purpose of the ranged variable i?
File Attachment(s):
corradolvr.sm (5kb) downloaded 18 time(s).
Davide Carpi attached the following image(s):
2015-01-14 23_21_47-SMath Studio Desktop - [corradolvr.sm].png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline corradolvr  
#3 Posted : 15 January 2015 01:53:14(UTC)
corradolvr


Rank: Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 19
United States
Location: WA

Was thanked: 1 time(s) in 1 post(s)
That's perfect. I'll have different variables using that subscript and I don't want to type it in for each one. I also have a string of about 10 equations that I'm running multiple inputs through. I've got six different "regions" that I'm working with and the ranged variable will help me keep things straight by the end of the process. The ranged variable # will match up with other variables so I can group them together as a set of outputs at the end. One other thing. I can't figure out how to input the ".." between the variable numbers to range them. I've been dancing all over the keyboard to figure this out.
Offline Davide Carpi  
#4 Posted : 15 January 2015 02:00:41(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,654
Man
Italy
Location: Italy

Was thanked: 1340 time(s) in 879 post(s)
Nice.

Yes, this is a common issue (there is a request here to have this function in the functions palette)

Just type range on your worksheet


best regards,

Davide
Davide Carpi attached the following image(s):
range.gif
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Guest
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.