Skip to main content

All Questions

0 votes
0 answers
37 views

Use Fitting Parameter from Solve or Nminimize with LinearModelFit

Im Trying to minimize a function by varying parameter "a" with Solve or Nminimize. The Problem is that "a" is dependent on my parameter "R" which is dependent on "a&...
HerbertderGe's user avatar
2 votes
0 answers
192 views

How to approximate an exponential series?

Consider the following expression $$ y_j= \sum_{k=0}^{L} \frac{e^{-\sum_{i=-k}^k(k-|i|)x_{j+i}}-e^{-\sum_{i=-k}^k(k+1-|i|)x_{j+i}}}{\sum_{i=-k}^k x_{j+i}}\tag{1} $$ for $1\leq j \leq L$. Given smooth ...
sam wolfe's user avatar
  • 4,903
3 votes
2 answers
209 views

Fitting an exponential system

Consider the following system over a periodic array, where $1\leq j\leq n$, $$ y_j= \sum_{k=0}^m \frac{e^{-\sum_{|i|\leq k}(k-|i|)x_{j+i}}-e^{-\sum_{|i|\leq k}(k+1-|i|)x_{j+i}}}{\sum_{|i|\leq k} x_{j+...
sam wolfe's user avatar
  • 4,903
0 votes
0 answers
29 views

NArgMin with Root functions

I'm trying to minimize an error function sumt to find some parameters S, s0, si : ...
J.A's user avatar
  • 1,285
0 votes
0 answers
308 views

Solve equations involving summation expressions in Mathematica

I am trying to solve the simple linear regression equation analytically in Mathematica (not using builtin functions). I managed to calculate the gradient as follows f is loss function using RSS and ...
arvind's user avatar
  • 141