MathGroup Archive 2012

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

Search the Archive

Problem with Fit command

  • To: mathgroup at
  • Subject: [mg127685] Problem with Fit command
  • From: jfonfria <juanjose.cisneros at>
  • Date: Wed, 15 Aug 2012 03:32:25 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

Dear collages,

Congratulations for the group. I didn`t know that it exist before, if I know it before...

I have the next problem: I solve a linear system, and then I want to do a parametric study by modifing the variables of the result obtained. The last step is to Fit a curve to this result acording to the parameters. But when I solve the variable, I have the value between {}, and then when I apply the Fit command, it doesn't run I send to you some of the code and also the matrix that I obtained where I want to apply the Fit command):

KGpf.{Dpfz1, Dpfz2, Tpfy2, Tpfy3} == {F, 0, 0, 0};
solpf = Solve[%, {Dpfz1, Dpfz2, Tpfy2, Tpfy3}];

Where KGpf is a 4x4 matrix (which depends of 3 parameters), Dpfz1,Dpfz2, Tpfy2 and Tpfy3 are the variables of the problem.

Then I obtained the parameters of the first column column of the matrix with the next command:

Kpf = F/Dpfz1 /. solpf;

 {{128053.}, 12, 15, 5},
 {{247597.}, 12, 15, 8},
 {{291355.}, 12, 15, 10},
 {{329071.}, 12, 15, 12},
 {{405650.}, 12, 15, 15},
 {{526921.}, 12, 15, 18},
 {{639197.}, 12, 15, 20},
 {{780108.}, 12, 15, 22}}

Best regards,

Juan Jose

  • Prev by Date: Re: Landau letter, Re: Mathematica as a New Approach...
  • Next by Date: Re: Find Position of many elements in a large list.
  • Previous by thread: Kick idle users from my Mathematica Serber
  • Next by thread: V8 slow like a snail