# All Questions

11 views

### Easy way to bind rect to geometrical 2D line?

I got stuck with the following problem. For some calculation and visualization purposes I need to draw different shapes (like rectangle) with proper slope on custom line. The trivial example: ...
13 views

### 3D interpolation

I have four column data with first 3 column denoting x,y,z and fourth column energy. x variable is actually angle. Now I want to interpolate over all three indepdent variable (x,y.z) with ...
8 views

### Create formula to get a value [migrated]

I have clients whichs pay a monthly fee. I would like to know the accumulative total for a given quantity of month for a given fee. Plus I get 2 new clients every month. Let's say a client pays ...
21 views

### Strange result of DeleteCases in an association

The function DeleteCases can be used for associations, also with level specification. Here is an example where some values are associations: ...
16 views

### LogPlot does not show all points

LogPlot ignores points which are going to "too high" values: LogPlot[1/x, {x, 10^-12, 1}, PlotRange -> {{-.1, 1}, All},Frame -> True] gives: I'd rather ...
39 views

### Connect to USB Serial Converter

(I'm using Windows 7 & Mathematica 10) I have a sensor with RS232 serial interface. The sensor came with a RS232-to-USB converter and corresponding driver & software for data transportation. ...
113 views

### How to put an imported image in a Disk?

(This question has probably been asked before but my searches return no results.) The image below contains various ( lightblue filled ) circles ( made with the Disk function ), I want to fill them ...
124 views

### How to do make Plot automatically figure out a domain interval?

When you tell Wolfram|Alpha to plot something, it automatically figures out a reasonable domain to plot it over. When I try something like Plot x^2 + y^2 = 1000 ...
53 views

### Manipulate a 2D point controlled simultaneously by Locator and its coordinates

I'm trying to have a point in the plane which can be manipulated both using Locator as well as inserting its $x$ and $y$ coordinates. My attempts at doing this are: ...
65 views

### Solve a differential equation using the power series method

I used the power series method to solve the differential equation y’’+y=0 with y[0]=0 and y’[0]=1 using the following code. In this code “y” is considered as “y = Sum[c[i] x^i, {i, 0, n}] + O[x]^(n + ...
71 views

### How to enter piecewise functions into Mathematica

I'm trying to enter a piecewise function (named eq30) into Mathematica. However, it seems not to work. The expression I entered is ...
41 views

### How do I make a Graphics3D Object act as a Button?

What I'm trying to do is to create a series of Graphics3D objects and let them control the display of corresponding Graphics3D objects in a different Pane. My first try was simple. I initialized an ...
46 views

77 views

### Alternative to use a function as an argument in Compile

I am currently working on problems that require the use of functions such as : ...
53 views

### Nonlinear boundary value problems for fourth order ordinary differential equations

I am trying to solve a set of equations which are fourth order equations. I want to get the value of w ...
106 views

### How to declare a function as real in order to get rid of Conjugate in front of the expressions?

I have a complicated complex function containing some other ones that are real, f=f(A,B,C,...) ,where A=A(r) and it is real, for ...
98 views

### Is there a practical way to define a default value for missing keys in an Association?

It can be very useful to define background or default value for an object that can be incremented or otherwise modified. A simple (and for me, common) use is a counter: ...
64 views

### TargetFunctions option in FindDistrobution yields error

I have some data set that I am trying to find the maximums . I figured I could do this by fitting the many peaks of the dataset to Gaussian distributions and then finding the peaks of this data from ...