# All Questions

140 views

### How do you solve a linear equation of matrices? [duplicate]

The function Solve works fine for scalars: In[]:= Solve[A x - x B + C == 0, x] Out[]= {{x -> -(C/(A - B))}} When using matrices however, ...
63 views

### Applying a window over a list

The window functions state that they tread over lists, but when I try to do: HammingWindow/@list, I do not get the expected results. What is the best way to apply a window over an arbitrary length ...
59 views

### How to enlarge a specific part of a graph using Plot Command? [duplicate]

How to enlarge the closed curves of any Graph and Show them in a separate Graph within the ...
44 views

28 views

### How to remove a hold from a result obtained by equating a partial derivative to 0? [on hold]

I have a function g(x,y). I want to set its partial derivative by $y$ equal to 0, obtain an expression depending on $x$ and use it in further calculations. However, the code I am using puts a hold on ...
58 views

### Product of Two Functions [on hold]

I wrote a little messy conditional probability distribution. In the output, however, the numerator shows like p^2 (A) (B|A), rather than ...
210 views

### Deriving a PDF for an annulus distribution

I would like to derive the PDF for an ''annulus'' type distribution, defined by the parameters $\theta\sim U(0,2 \pi)$ and $d\sim N(0,\sigma)$; where $\theta$ is the angle round a circle of radius ...
31 views

### Compute the Breslow-Day statistic in Mathematica [on hold]

How would one compute the Breslow-Day statistic in Mathematica? Is it part of an existing package or can it be derived from one?
91 views

### Trouble exporting graphics to SVG (or PNG)

I'm trying to export a Graphics object to SVG (or, failing that, PNG). The graphic is a chart of ~1000 simple geometric "configurations"; below is a small excerpt ...
43 views

### KaryTree of Text .csv and Correlation

How can I make a KaryTree of this raw-data (raw-data at the end of the question): This is is data from a political survey in which I ask 5 questions with the following possible answers: Q1: 'Y'= ...
180 views

### Mathematica gravatar engine?

This question asks about making gravatars in Mathematica, but the accepted answer is just a wrapper around the gravatar.com service. Is there an open source Mathematica engine that performs the ...
41 views

### Cartesian coordinates inside Spherical function

I would like to write a function that draws a graphic object and its projections along the x,y and z axes. I specify the $r,\theta, \phi$ of the object and an arrow and it's dashed projections are ...
19 views

### How to handle DLL dependencies between .NET dll and non-.NET dll's

I think my problem arises because I am successful with loading a .NET assembly, creating an instance and calling methods from a .NET dll. Certain methods, however, call methods from other non.NET ...
41 views

### Integrate fortran function into Mathematica

I was trying to use Fortran function in Mathematica. I was following mainly this answer . My Fortran code looks like this: ...
50 views

### CompiledFunction::cfsa Argument x at position1 should be a machine-size real number [on hold]

I have a compiled function: g:=Compile[{{x, _Real}},...] and call g through an interim function: g2[x_?NumericQ] = g[x] If ...
29 views

### Series Soln False error [on hold]

When I try to define my equation : sys3 = {y'[x] == 2 y[x]/(1 + y[x]^2) - Exp[y[x]]/(1 + Exp[y[x]]), y (0) == 1} OR ...
31 views

### How to return multiple types in APIFunction?

I'd like to publish an api that returns an image as well as a number, but it seems that the docs for APIFunction specifies only a single possible format type: Here's an example to play with: ...
38 views

### rescaling X axis

I have a pretty simple code, working fine and producing a plot that is ALMOST what I desire: ...
33 views

### A question on JordanDecomposition in Mathematica

How can I have Mathematica show me also the inverse matrix of the similarity matrix of JordanDecomposition of a matrix? Obviously I need to use here the ...
40 views

### List of Inequalities in RegionPlot with different colors [duplicate]

Starting from the example of the Documentation: RegionPlot[{x^2 < y^3 + 1, y^2 < x^3 + 1}, {x, -2, 5}, {y, -2, 5}] Which gives a nice plot with two ...
30 views

### differentiating an integral [on hold]

I am new to Mathematica. i hope to have the software next week so please excuse the unusual syntax. p(y) means p is a function of y. u(p) means u is a function of p . p(x) is the value of p when y=x ...
126 views

### How to obtain the coordinates of the intersection line of two surfaces?

I can plot the intersection line of two surfaces $f$, $g$ by using: ...
26 views

### Plot3D gives an empty box [closed]

I have two questions. I am trying to 3d plot a function like in the image below. It gives an empty box displaying no results. I tried adjusting the graphic qualities, but it does no solve the ...
71 views

### Double sum in mathematica

It may look like a stupid question, but I was really confused by how double sums works in mathematica: After simplification, the function actually has nothing to do with n2? Also, when I manually ...
17 views

### Measuring space complexity?

I like using GeneralUtilities function BenchmarkPlot for estimating time complexities, is there something similar for ...
41 views

### Plot for function that calculated direct with while, but is piecewise

For this question Use of {FOR, Do, If,Plot} that ..., I wrote this code: ...
43 views

### Run several input cells in parallel

I have a notebook with several input cells that produce data which is then plotted into separate graphs. Since I do not want to save the results, because it makes the file huge, I keep the ...
124 views

### Definite integration in mathematica

I tried to integrate the following in Mathematica. $\int\limits_{-\infty}^\infty\cfrac{\text{e}^{\text{i}ax}}{x^2-b^2}\text{d}x$ where $a,b>0$ The analytical result is well known. ...
93 views

### To style Sound object

While doing some signal processing research my aesthetic feelings were heavily struck by following output: The problem here is that 211.96 s label is partially ...
79 views

### Use of {FOR, Do, If,Plot} that are in one code? [on hold]

I wrote this code: ...
51 views

### Multiple pattern test in the definition of a function

I have a very simple question, and I'm sure there is a way to do this but I cannot find it: if I want to create a function that's defined only for matrices, I can do it like this: ...
85 views

### Plotting logistic maps

I have a question about plotting in Mathematica in general, and this particular recurrence relation as an example: $\qquad x _{n+1} = rx_{n}(1-x_{n})$ How can I plot the following plots as shown ...
20 views

### Make an existing solution for monitoring parallel jobs robust against dying kernels

Is there any chance to make the solution by @David here http://mathematica.stackexchange.com/a/1562/21606 more robust in the following sense: In my case, some parallel kernels die regularly during ...