- #1
member 428835
Hi PF!
Given an autonomous function ##f(x,j)##, I am trying to create a ##j##-vector so that I can "dot" this into a ##j \times 1## vector. For example, if I have ##f = @(x,j) \sin x j## I would like to create something like ##v = [\sin x,\sin 2x, \sin 3x]## so I could dot this into a vector like ##[a,b,c]^T##.
Any ideas?
Given an autonomous function ##f(x,j)##, I am trying to create a ##j##-vector so that I can "dot" this into a ##j \times 1## vector. For example, if I have ##f = @(x,j) \sin x j## I would like to create something like ##v = [\sin x,\sin 2x, \sin 3x]## so I could dot this into a vector like ##[a,b,c]^T##.
Any ideas?