I define a function like this:
ϕ[t_,ϕ0_,ϕ1_]:=ϕ0+ϕ1/ArcSin[0.97] ArcSin[0.97 Sin[2Pi f(t-0.25/f)]]/.f->30
which generate:
$$ \phi (t)=0.754586 \times \text{$\phi $1} \times\sin ^{-1}(0.97 \sin (60 \pi (t-0.00833333)))+\text{$\phi $0}$$
Then I want to generate two function with (ϕ0,ϕ1)=(0,10) and (ϕ0,ϕ1)=(100,200) with Table
function like bellow:
Table[ϕ[t], {{ϕ0, ϕ1}, {{0, 10}, {100,200}}}]
But it doesn't work.
How to manage it ?
ϕ[t, ##] & @@@ {{0, 10}, {100, 200}}
should work. Is that what you're looking for? If the syntax is unfamiliar, check outApply
andSlotSequence
in the docs. $\endgroup$Table
you can "replace one of the @" in Martin's answer:Table[ϕ[t, ##] & @@ pp, {pp, {{0, 10}, {100, 200}}}]
$\endgroup$Rule
. $\endgroup$