Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: best solution?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22909] Re: [mg22899] best solution?
  • From: BobHanlon at aol.com
  • Date: Thu, 6 Apr 2000 02:04:28 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

F[a_, b_, c_, x_]  := a *Sin[b *x + c]

k = {{a1, b1, c1}, {a2, b2, c2}, {a3, b3, c3}};

F[Sequence @@ #, x] & /@ k

{a1*Sin[c1 + b1*x], a2*Sin[c2 + b2*x], a3*Sin[c3 + b3*x]}


Bob Hanlon

In a message dated 4/4/2000 11:05:46 PM, peter.weijnitz at perimed.se writes:

>I have a function e.g F[a,b,c,x] =a Sin[b x +c]  and a number of parameter
>triplets
>k={{a1,b1,c1},{a2,b2,c2},{a3,b3,c3},....}.
>I would like to feed my function the parameter values in an good and simple
>way, how?
>
>(Picking out the elements like k[[3,2]]=b3 e.t.c is not what I want.)
>


  • Prev by Date: 2-D Vector Field scale ?
  • Next by Date: Pi == 3 for imprecise values of 3?
  • Previous by thread: Re: @@@ for Version 3??
  • Next by thread: Re: best solution?