Subscripts to produce multiple outputs?

Subscripts to produce multiple outputs? - Like F sub 1i where i=0..6 - Сообщения

#1 Опубликовано: 14.01.2015 12:12:43
corradolvr

corradolvr

1 сообщений из 19 понравились пользователям.

Группа: User

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}
#2 Опубликовано: 14.01.2015 19:20:16
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

I miss a point, what is the purpose of the ranged variable i?
corradolvr.sm (4 КиБ) скачан 34 раз(а).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 14.01.2015 19:53:14
corradolvr

corradolvr

1 сообщений из 19 понравились пользователям.

Группа: User

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.
#4 Опубликовано: 14.01.2015 20:00:41
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

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
range.gif
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений