# All Questions

7 views

### Full width of graphics in GraphicsColumn

I have a list of graphics which are all the same width, and I would like to combine them into a single Graphics object that has them all stacked on top of each other, column-style. The help page for ...
5 views

### “ClosingActions” option for FrontEndAttachCell

I'm looking to find the possible values for the "ClosingActions" options FrontEndAttachCell. I have found "SelectionDeparture" and "ParentChanged" so far. Moreover, is there a general method to ...
28 views

### Factoring a two variable polynomial in a special way

Let $f=x^9-x^6+4x^5y+2x^3y^2-y^4$, I want to factorize it into form $(y-F_1(x))\cdots(y-F_k(x))$ over Complex numbers. How can I do it by Mathematica? Thanks for your helps.
98 views

### Manipulation of InterpolatingFunction

Suppose that $q[t]$ is obtained by NDSolve as an InterpolatingFunction, and I want to define $Q[t]$ to be some function of ...
42 views

### Linearity of a function in Mathematica

I have a function which has something like myFunc[q,a state[c,d]] a could be anything, and I want to tell Mathematica that ...
78 views

### FindFit not giving a good fit despite good initial parameters

I'm having a problem with FindFit not giving a good fit to my data, even though the initial parameters I give look really good when plotted. The fitting function is ...
67 views

### Extracting data values from a plot

I found that the fact is very useful that a plot sometimes contains all the original data needed to reconstruct that plot. This is very helpful for me because sometimes I need to retrieve and analysis ...
61 views

### How to find the vertices of a regular tetrahedron? a dodecahedron?

My question is: how to find the coordinates of the vertices of regular tetrahedron and dodecahedron? I tried to find the coordinates of the vertices of a regular tetrahedron as the solutions of a ...
85 views

### How to apply GraphLayout option to part of vertex?

I'm trying to sketch polymers. Here is how I do it. How can I make the left part to a regular hexagon? This is the unit so for polymers there are more. Is there a general way to do so? For polymer, ...
17 views

### Using the actual subscript as a variable within thecontext of definitions using the Notation package and Symbolize

I've gotten into the habit of using subscripted variables, invoking the Notation package and Symbolize. Now, I'd like to be able ...
30 views

### How to solve a stiff nonlinear second-order ode?

I want to solve a nonlinear second order ODE as an initial value problem (IVP). Unfortunately, for certain values of first derivative at starting point I get a stiff-problem. I tried to overtake this ...
82 views

Problem: In the context of quantum harmonic oscillator the eigenfunctions are given by: $u_n(x) = (N_n/\sqrt{b}) H_n(x/b) \exp\left[-x^2/(2b^2)\right]$, where $N_n$ is the normalization factor: $... 0answers 25 views ### Find Number of nonzero elements How do you find which elements in a matrix are non-zero. For instance, the following matrix has 5 nonzero elements. [0;1;0;0;0;0;1;0;0;1;1;0;0;0;0;0;1] 2answers 68 views ### How to remove ConditionalExpression from output I need define the function with parameter so I could directly generate a power series expansion. The problem is that in some cases ConditionalExpression appears in output. Here is my code: ... 0answers 49 views ### How can I solve my system of differential equations? I have a question pertaining to my code below: I require to find the values of the roots E2 that will set the function ... 1answer 320 views ### Integro-differential eqn with double integral I am looking at the following variation of a integro-differential, with y[0]=1. The output is not great, any solutions to this? ... 0answers 43 views ### Define an operator without Built-in Meanings containing a Power function I would like to define the following operator:$$\left[T^{(j_{1})}\otimes U^{(j_{2})}\right]_{m}^{(j)}=\sum_{m_{1},m_{2}}\left\langle j_{1},m_{1};j_{2},m_{2}\big|j,m\right\rangle ... 2answers 51 views ### Get brief help for a set of functions When we are in console mode or working with a notebook we can get brief help about a function just by shift-entering ?function I would like to have a list like ... 1answer 49 views ### How to plot a function with variable with an open interval? [on hold] I want to plot this revenue function:$r=30q-0.3q^2$I have no range, its an open interval, but when I try to plot in Mathematica it requires the min and max of the plotting limits. How do I do ... 1answer 95 views ### How can I get the limit of a certain infinite product? A first look at it suggests the fact the limit is precisely$1$. To check that I tried Mathematica, but no output so far. Most probably it converges very slowly. Is there any way to get the limit? ... 0answers 30 views ### Performing matrix multiplications with a list I have a question in regards to PseudoInverse. I have$A$, an$n\times 2$matrix, and when I want to compute$(A^T A^{-1})A$, by using ... 1answer 76 views ### Disconnected Frame/Axes in Plots Is it possible to have "Tufte" style figure axes? That is so that the axes do not need to connect or span the entire data range? For an example of what I mean from the R's default histogram style: ... 2answers 100 views ### Plotting double inequality only for integer values RegionPlot is plotting for all values. And using ListPlot I can only evaluate one inequality. How can I plot this type of ... 3answers 126 views ### efficient way to give nearest neighbour and next nearest neighbour of every point in a point set Suppose we have a point set, the points are labeled 1,2,3,....n. And p[i] is the coordinate of the point. Now I want the label of nearest and next nearest point ... 0answers 19 views ### Calculating Second-Order Tikhonov Regularization Parameter in Mathematica I am trying to map slowness of underwater sound velocity in a river using some tomographic device. The location of each acoustic receiver/transmitter is shown in the picture below To find the ... 2answers 44 views ### How to extract expression from ConditionalExpression p1 := y /. {First[Solve[x^2 + y^2 + x == 1, y, Reals]]} ... 2answers 70 views ### Reading non-tabular data with NaN-s from file A NaN stands for an entry that is not a number/undefined/missing/infinite/etc. On my machine the C code printf("%f", 0/0.) produces ... 0answers 46 views ### random geometric graph generation problem I'm new to Mathematica. I'm trying to generate a random geometric graph in which to have a secure link between any two arbitrary nodes they should share a common key in their key rings (have assigned ... 2answers 122 views ### How to combine two vectors into a matrix by columns? I know it may sounds idiot, but I've been looking through the document, and couldn't find a way to combine two vectors say {a, b} and ... 1answer 36 views ### Plotting Surface Graph from Excel Data Import to Mathematica I am trying to make a surface graph on Mathematica using Excel Data. My x-axis should be the "A" Column and my y-axis should be the "1" Row. The box of data in between the x-axis and the y-axis should ... 0answers 18 views ### Subscripts to a variable; why a letter shoud come before a digit? I noticed that I cannot create a variable$f_{2s}$since Mathematica seems to leave a space between the subscripts 2 and s ... 1answer 46 views ### LinkSnooper troubles on Windows I'm trying to get LinkSnooper up and working on a Windows 7 machine to monitor the interaction between the Mathematica front end and MathLink. I'm facing great troubles following the instructions ... 1answer 531 views ### Solving a system of PDEs expressed in matrix notation ... 0answers 56 views ### 3d projection histogram [on hold] I am developping in which I need to calculate the 3d projection histogram (vertical and horizontal). I know the 2D projection histogram. So, How can I extend the 3D version? I think that i can use the ... 1answer 47 views ### ScientificForm problem Consider this code: ... 1answer 58 views ### How to keep$FrontEnd options from resetting?

I'm trying to get Mathematica to look in a different, version-tracked folder for the 'TextResources' files that it uses to build the Front End. I've prepended my version-tracked folder path to the ...
26 views

### Plotting bug? or am I missing something? [duplicate]

I would like to plot some functions in a family such as the following set of functions: Table[(n/(1 - 2 x))^2, {n, 1, 29}] And this works wonderfully: ...
125 views

### How to programmatically remove menu items

I would like to do the opposite of what is described here. So rather than add a menu item I would like to programmatically remove one (or more). So given a knowledge of the structure of the menu *.tr ...
91 views

### Manually adjust graph vertex location by dragging?

Is there any way to manually adjust graph vertex location by dragging? Sometimes I have a graph and I want to make tweaks to the vertex locations. If I double click to edit I can move around the ...
505 views

### How to partition a list in a specific way

I have a list: a = {{1, 2, 3, 4, 1, 2, 3, 4}, {5, 6, 7, 8, 5, 6, 7, 8}}; Using Partition and ...
30 views

### Store results of inequality

I eveluated some values using Reduce commend and I store them in a Table ...
73 views

### Open an html saved notebook

I have found an html page clearly created using the Save as HTML option of Mathematica. Is ...
90 views

### Can anyone help to solve this set of coupled ODE? [on hold]

After some time Mathematica just give me the same thing while I was trying to solve: DSolve[{3 E^(-[Lambda]2 [Phi]0) r a[r] - 1/2 [Lambda]1 [Phi][r] + 3/8 E^(-[Lambda]2 [Phi]0) [Lambda]1 ...
55 views

### calculating a sequence of functions using iteration

I am trying to compute a sequence of functions using iteration and keep running into problems trying to use built in looping commands because of the recursive nature of the definition. The code below ...
64 views

### Run kernel script in cygwin without window popping up

I'm calling mathematica scripts running kernels through a cygwin terminal, which are again executed from c++ code. When I do this a window pops up, prints warnings and errors if there are any, and ...
31 views

### Using Rosenbrock's function to find the minimum of another function? [on hold]

Using Rosenbrock function : clc; clear all; a=(-2:0.01:2); b=(-1:0.01:3); for x=1:401 for y=1:401 z(x,y)=(1-a(x))^2+100*(b(y)-a(x)^2)^2; end end %disp(z); mesh(z); n=401; % ...
70 views

### Reduce of a table [duplicate]

I have a table for example: t = Table[k,{k,5}] which returns {1,2,3,4,5} and for every element in this table I want to check ...
156 views

### Unexpected dots from Line

I have noticed cases where Line produces dots in a graphics object when I think it shouldn't. The first of these is: ...