Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119540] Re: function
  • From: Alexei Boulbitch <alexei.boulbitch at iee.lu>
  • Date: Wed, 8 Jun 2011 07:15:09 -0400 (EDT)

I assume a,b ... are some numbers fixed before. In this case try this:


a = 3^2; b = 5^2; c = 9^2; d = 11^2; e = 15^2; f = 18^2;
pt = {{3, a}, {5, b}, {9, c}, {11, d}, {15, e}, {18, f}}

Plot[Evaluate@Fit[pt, {0, x, x^2, x^3, x^4, x^5, x^6}, x], {x, 0, 18}]

Have fun, Alexei



pt = {{3, a}, {5, b}, {9, c}, {11, d}, {15, e}, {18, f}}
Plot[Fit[pt, {0, x, x^2, x^3, x^4, x^5, x^6}, x], {x, 0, 18}]

I want to use this type of plot inside a dynamic module (see link to notebook below for full code).
Doesnt work though.
  I know i can use InterpolatingPolynomial[] inside Plot[] for similar effect but it doesnt produce the same curve.

This is a link to a notebook with the full code:
http://dl.dropbox.com/u/28494067/upg3.nb

-- 
Alexei Boulbitch, Dr. habil.
Senior Scientist
Material Development

IEE S.A.
ZAE Weiergewan
11, rue Edmond Reuter
L-5326 CONTERN
Luxembourg

Tel: +352 2454 2566
Fax: +352 2454 3566
Mobile: +49 (0) 151 52 40 66 44

e-mail: alexei.boulbitch at iee.lu

www.iee.lu

--

This e-mail may contain trade secrets or privileged, undisclosed or
otherwise confidential information. If you are not the intended
recipient and have received this e-mail in error, you are hereby
notified that any review, copying or distribution of it is strictly
prohibited. Please inform us immediately and destroy the original
transmittal from your system. Thank you for your co-operation.



  • Prev by Date: Re: replace with closest value
  • Next by Date: Re: Displaying Numbers in Non-Scientific Format
  • Previous by thread: Re: Front end - Error when saving file
  • Next by thread: Mac FixedPoint[] problem looks like SameQ[] is culprit