All Questions

Filter by
Sorted by
Tagged with
3
votes
4answers
265 views

Continuous non-piecewise equivalent of smoothstep function?

I have a smooth step function given by the piecewise function ...
1
vote
1answer
121 views

This PDE freezes Mathematica

I have a problem when I try to solve this PDE: ...
1
vote
1answer
117 views

InterpolatingFunction::dmval error in the Piecewise function with an interpolation funcion included

I have a set of data, first I deal the data with an Interpolation function. excitef1 = Interpolation[ps1] Then I use a Piecewise function to expand the range of ...
3
votes
2answers
92 views

Motion study using initial conditions

I think I'm making a mistake to reach my goal. I would like to find an $x[t]$ function that could describe the following conditions: 1 - The object is in position $x=151$ (meters) at time $t=5$ (...
3
votes
2answers
409 views

InterpolatingFunction within Piecewise gives range error?

So I have a function myfun with positive domain that I got from NDSolve and a bunch of transformations afterwards. I can plot it on its own like ...
1
vote
0answers
284 views

How to use interpolating functions in NSolve with a piecewise function?

I have a system of two non-linear differential equations that are piecewise, the solutions of which I would like to use to obtain the values of a third variable that is also piecewise. I have trouble ...
3
votes
1answer
602 views

NDSolve with an interpolating function in Piecewise

Again I have question I hope someone can answer. I made a very simple example illustrating my more difficult problem. I want to solve a differential equation numerically with a conditional in the ...
2
votes
3answers
916 views

Extract function from a parametric interpolating function

I've read the answers of How to make use of an interpolating function outside of Mathematica?, Interpreting the interpolating function and saving data to plot with external program, Extracting the ...
22
votes
5answers
5k views

Extracting the function from InterpolatingFunction object

I've used Interpolation[] to generate an InterpolatingFunction object from a list of integers. ...
7
votes
3answers
2k views

Piecewise Polynomial Interpolation

Given some data pairs $(x_i,y_i)$, with $i=0,...,m$, and a degree $r$, I wish to build a piecewise polynomial function to interpolate these data. That interpolation should be continuous, and, on every ...