Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Coefficient from matrix' topicStudent Support Forum > General > "Coefficient from matrix"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Peter Pein
11/13/12 12:49pm

Hi Julius,

your function m generates a 2x2 matrix in your example, but the index i in the call to Table[] runs from 1 to 1.

Fortunately the function Coefficient has the attribute Listable (*) and

Coefficient[m[{1},{1}],ck[1]]

should give the desired output.


Peter


(*): http://reference.wolfram.com/mathematica/ref/Listable.html

Attachment: julius.nb, URL: ,

Subject (listing for 'Coefficient from matrix')
Author Date Posted
Coefficient from matrix Julius 11/12/12 1:55pm
Re: Coefficient from matrix Nasser M. Ab... 11/13/12 00:12am
Explanation Julius 11/13/12 12:40pm
Code with nb file Julius 11/13/12 12:23pm
Re: Coefficient from matrix Peter Pein 11/13/12 12:49pm
< Previous CommentHelp | Reply To Comment | Reply To Topic