Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'z[i]=e^-λ*s*t[i] transformation' topicStudent Support Forum > General > "z[i]=e^-λ*s*t[i] transformation"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Michael
07/05/12 10:30am

Try

M /. Power[E, Times[s, Subscript[t, index_], ___]] :> z[index]

on M = A0, B0, etc. Note one entry in B0 in the notebook you attached lacks an s, perhaps intentionally.

Notes: 1. The t-sub-i must be undefined. If you have set their values through the delay input dialog, then the matrix that Position receives will have those values and not the symbol t-sub-i.
2. The solution above assumes s is always present as a symbol. I omitted lambda since it appeared as a number, not a symbol. Variants for experimentation:

M /. Power[E, Times[Subscript[t, index_], ___]] :> z[index]
M /. Power[E, Times[\[Lambda], s, Subscript[t, index_], ___]] :> z[index]

URL: ,

Subject (listing for 'z[i]=e^-λ*s*t[i] transformation')
Author Date Posted
z[i]=e^-λ*s*t[i] transformation Billy 06/30/12 7:02pm
Re: z[i]=e^-λ*s*t[i] transformation Michael 07/05/12 10:30am
< Previous CommentHelp | Reply To Comment | Reply To Topic