# All Questions

1answer
15 views

### Using ouput of ParametericNDSolve as argument in NMinimize: NMinimize::nnum: function value not a number

I am trying to fit some experimental data and I am trying to use NMinimize function to calculate the parameters that fit the experimental dataset. I am also using ...
2answers
31 views

### After NumberForm I cannot apply a Sine function. Why?

After NumberForm I cannot apply a Sine function. Why? This works: sol1 = x /. Solve[x^2 - 3 == 0, x] Sin[sol1] Output = $\{-Sin[\sqrt{3}],Sin[\sqrt{3}]\}$ Also ...
0answers
16 views

### highlight certain rows in various table format

I have tried a method to highlight certain rows in various tableform. An example: ...
4answers
37 views

### Make spheres same size in Row

I have different 3D graphics containing spheres, for example pic1=Sphere[{0,0,0},1]; pic2={Sphere[{-1, 0, 0}, 1], Sphere[{1, 0, 0}, 1]}; I would like to show ...
0answers
21 views

### Fast way to pass an array of integers to Java using JLink

I am using a package from java to compress a list of integers, this package provide me two methods, one for compress and other one for uncompress. Each of these methods has a version to ...
3answers
53 views

### Solve simple trig equation

I would like to solve this equation: $$-x\sin(x)=\cos(x)$$ But Solve in Mathematica doesn't work: This system cannot be solved with the methods available to ...
2answers
25 views

### How do I exclude regions from numeric integration on Mathematica?

The part of the equation that is giving me trouble is below: f[t_,v_]:= Exp[-(1/Log[1-t/v]^2)]*(v-t) I need to integrate this function over the ranges .1 ...
0answers
58 views

### Entropy of lists and sublists

If we examine the following Entropy outputs below, it can be seen that the Entropy of ...
1answer
37 views

1answer
64 views

### Calculate sum of probabilities in multinomial model

The question at hand: On average in every 7th chocoloate egg there is a figure to be drawn from a known list of special figures (e.g 15 distinct pieces) the other draws are on average fails. With ...
1answer
47 views

### Global variables [on hold]

I have a workbook I am writing, there are 2 cells in it and then each cell is divided into sub cells. At the top of the first cell i made a bunch of variable assignments such as length=10, x=6, d=4, ...
0answers
47 views

### How does KalmanEstimator update the Kalman gain, process noise and state variable mean?

The first "Application" in the documentation for KalmanEstimator is copied below with additional variables for clarity. ...
0answers
42 views

### We need to know the input signal when we use KalmanEstimator?

The first "Application" in the documentation for KalmanEstimator is copied below with additional variables for clarity. ...
0answers
30 views

### What does OutputResponse[sys, { {u1,u2,u3}, {v1,v2,v3} } ] do?

I am puzzled by the result of OutputResponse[sys, {{u1,u2,u3},{v1,v2,v3}}]. OutputResponse is used this way in the first "Application" in the documentation for ...
1answer
238 views

### What is wrong with FindRoot?

I am trying to find a numerical solution to the following transcendental equation ...
0answers
22 views

### Open file menu bug with ubuntu dark theme [on hold]

I'm using Mathematica on a Ubuntu with a dark theme. When i click on the open file menu option, it shows up with a white background and white letters.I can only see something if the folder or file is ...
0answers
32 views

### WSTP/MathLink: Transfering long lists (that require 64bit for index range)

I am using WSTP to call external C-Code from a Mathematica 10.2 session on a Linux-x86-64 system. The routine WSGetReal64List(WSLINK link,double **a,long *n) seems ...
1answer
41 views

### Strange Simultaneous Equations [on hold]

Solve the simultaneous equations: 70-T=7a T-40=4a By multiplying both sides of the equations by a factor and shifting the terms I transformed them into the following form: -28a-4T=-280 ...
0answers
36 views

### Problem with 3D plots window crashed

My mathematica7 window in fedora21 crashed when 3d plots are rotated without any warning message. I checked webpages for any solutions and found one answer. I followed it typing mathematica -mesa ...
0answers
68 views

### Time zone Projection [on hold]

This question stems from another question at here. I want to compare time zones (civil time) with watch readings from a model clock (see illustrations in link above) using this theory. I'm not ...
1answer
102 views

### How to restore corrupted files?

I have a file that I can't reopen because MMa was "Not Responding" and I had to shut it down. I found links online to this: http://support.wolfram.com/kb/12423 I executed those two instructions in a ...
0answers
40 views

### How to avoid “Quit[]” to execute notebook multiple times [duplicate]

I am using a program to binarize several images and then adding all the images together using "ImageAdd" to get one image. This image is required for further analysis of the images. The program ...
1answer
90 views

### EquationTrekker using Mathematica 10.2

I wonder whether the problem that arise with the following code is specific to my machine, as it seem to work with the documentation example. ...
2answers
150 views

### Looping through 3 million elements of a list to 'Set' values is slow [on hold]

I am looping through the 3 million elements of a time-series (v1, o1) and corresponding values (v2, o2). v1 contains a uniformly increasing timestamp (e.g. 1 to 3,000,000 in increments of 1) o1 ...
1answer
50 views

### Problem with mathematica plot 3d [on hold]

u[x_, t_] := (x - t)*e^(-(x - t)^2) u[x, t] Plot3D[u[x, t], {x, 0, 5}, {t, 0, 5}, AxesLabel -> {x, t, u}] I get an error Plot3D::exclul: {Im[e]-0} must be a ...
0answers
24 views

### Problem with mathematica code [duplicate]

Plot3D[u[x, t], {x, 0, 5}, {t, 0, 5}, AxesLabel -> {x, t, u}] I get an error Plot3D::exclul: {Im[e]-0} must be a list of equalities or real-valued functions. ...
1answer
78 views

### Extracting fit weights directly from a FittedModel object

Suppose I have the following data: ...
0answers
41 views

### What are all the elements of the expression returned by KalmanEstimator used for?

The first "Application" in the documentation for KalmanEstimator is copied below with additional variables for clarity. ...
1answer
48 views

### How to sort my list? Help [on hold]

I have a list={1,2,3,4,5,-6,9,3,12,0,-3}. I want to sort its, as way {even,odd,even,odd,....}. Moreover in crescent way for even and odd numbers. So the result ...
1answer
85 views

### Eigenvectors of numerical matrix

I have a large numerical matrix whose eigenvalues are all distinct. In the documentation for Eigenvectors it says: For approximate numerical matrices m, the ...
1answer
51 views

### Plot using a list of variables

I have the following code: ...
2answers
89 views

### FunctionInterpolation and Which combine badly

Update: The main question has been answered, but my problem hasn't been solved. The problem is I have a situation where I want to use Which on an InterpolatingFunction several times to repeatedly ...
0answers
61 views

### NSolve doesn't work on an equation containing a numerical integral and constraints

I'm having trouble getting Mathematica to solve equations numerically. I know that its important to specify the type of variables for pattern testing (see e.g. here) but this doesn't seem to work. ...

15 30 50 per page