# All Questions

27 views

### How to use Mathematica and Wolfram Alpha for predicting football results? [on hold]

This is more of a fun question :D. At work we have been discussing and goofing around a lot on how to create algorithms in order to make predictions on the results of the upcoming UEFA EURO 2016 ...
66 views

### Add color bar in SphericalPlot3d in version 8

I want to add a color bar in my spherical plot. I have tried the BarLegend command in version 8 but it seems not working. Could anyone help me out a bit? I wrote ...
66 views

### Argument attributes for pure functions

In his book, Leonid Shifrin says: One important limitation of the # - & notation for the pure functions is that it is ...
109 views

### BoxWhiskerChart with logarithmic axes 2

I actually already found my answer on the question, however it is not working. see BoxWhiskerChart with logarithmic axes I want to create a boxwiskerchart with a logaritmic axes. But when I try ...
85 views

### Evaluation leak from Dynamic in Button's action

a = 1; Button["Print", a++] Button["Print", Dynamic[a++]] Button["Print", Dynamic[a++];] Button["Print", {Dynamic[a++]}] Dynamic @ a The second ...
47 views

### Metric Simplify & grouping

I'm changing a basis from one metric to another. When simplifying the result Mathematica doesn't seem to grasp all the possible simplification: ...
3k views

### Open-source IntelliJ IDEA plugin to support Mathematica development

Although we already had a question asking for development alternatives to Wolfram Workbench, I want to ask a more specific question: One of the most advanced IDE's especially for Java programming ...
35 views

### How to set color function to black & white monochromatic density plot [on hold]

Here is a density function ...
146 views

### Is it possible to assign numbers generated in an Error-Message?

If I have a differential equation of the form ...
114 views

### What function superseded SpaceForm?

In older versions of Mathematica you could use SpaceForm to leave a certain amount of spaces when writing to a file. For example, if we have the following data: ...
68 views

### Solving for five unknowns in a 3 x 3 matrix

I know that matrix.Transpose[matrix] = IdentityMatrix[3] matrix = {{0.8111, 0.4867, -0.3244}, {a,b,0}, {c,d,e}} I tried ...
18 views

### How do I use Mathematica to upload to Clyp?

Clyp is a service for hosting sound files that (as of now) doesn't require registration. I'm wondering if it's possible to write a function that'll upload a Sound object to Clyp, just like the ...
56 views

### Antialiasing points on a line?

I'm probably being stupid here, but I can't get my points to go in a smooth line: At this scale they should all equally cover the red line. I must be doing something wrong, anyhow I tried to use ...
3k views

### Point Renderings Slightly Off in Mathematica

The Mathematica code ...
19 views

### Evaluates fine but blank printing/pdf?

Hey guys I've got a document that evaluates fine but when I go to print preview/print/convert to pdf the result is a single blank page. Any thoughts as to how this occurs?
24 views

### Stop front-end auto-adjust of window to output

I have made a simple "percent complete" output to track my For loop, where I incrementally print values and then delete the output right before printing the next ...
38 views

### Plotting points using adjacency matrix

Given an adjacency matrix on n vertices and a polygon on n vertices, how to add edges from adjacency matrix on the Polygon? eg: if polygon is {(0,0),(0,1),(1,0),(1,1)} and the adjacency matrix has 1 ...
118 views

### GridLines for a coordinate system with a particular basis

Suppose that I use the vectors (2,1) and (-1,1) as a basis for $R^2$. ...
151 views

### Is there an easy way to do set counting in Mathematica?

I'm using counts of elements in sets, along with logic. So, for instance, I'd like to determine if Count[$a \land \neg b$] = Count [$a$] - Count[$a \land b$] ...where ...
20 views

### how to choose from M a point which will be the center of the circle, and in that circle must be a minimum of points [on hold]

C programming on a plane are given a set of points M. Choose from M a point which will be the center of the circle, and in that circle must be a minimum of points
18 views

### Text interface + scripts: How to use all available cores

For example, the remote host I'm working on has 12 cores: ...
76 views

### Error - Differential equation //2

This is a follow-up question, since it relates to the solution of a modified version of the original differential equation discussed here: Differential equation: NDSolve::berr I receive an error ...
123 views

### How-to ensure consistent legend when using PieChart?

Description: I would like to enforce consistent legend and style throughout dynamic PieChart evaluation. Problem: Based on current implementation, the color ...
27 views

### Troubles with showing axis after saving in EPS

I'm trying to save a picture in EPS and then to put it into my LaTeX document. But when I put it the left axis is not shown. How do I fix it? (look at the screens) If I save the image in JPG, ...
47 views

### How to understand the LocalClusteringCoefficient use in directed graph? [duplicate]

When this function use in undirected graphs,its action is normally and can be explained by this formula $$CC_v=\frac{n}{C_{k}^{2}}=\frac{2n}{k(k-1)}$$ n is adjacent nodes of $v$'s number of ...
68 views

### Animate Spring Pendelum

Is there ANYBODY who can solve this exercise??? Visualize the oscillation of a spring pendulum . Write to a function ( modules ) "spring mass" [ eg , nzigzag ] , which visualizes the spring ( Line ) ...
123 views

### Extracting *firstly roots* from some lists to plot their pairs values

I have two different lists as list1 and list2. Their ListPlot3D of them are: and As shown in these plots, there are some points of which ...
194 views

### DSolve versus DSolveValue [closed]

I've just discovered the new command DSolveValue in Mathematica 10. Is this new command now the preferred instead of DSolve? Is ...
11 views

### Subtle behavior differences of DialogNotebook and PaletteNotebook when using FileNameSetter

Consider code snippet 1 which displays desired behavior: ...
830 views

### Site - Cell Correspondence in Voronoi Diagram obtained via VoronoiMesh

Consider the following: ...
326 views

### Speedup matrix number multiplication

Consider this simple matrix number multiplication: ...
35 views

### Replace argument of delayed function before it evaluates [duplicate]

How should I use replace so that f[x_] := x^2 Replace[f[3], 3 -> 1] OUT = 9 evaluates to 1, instead of 9? This way, the replacement of the argument is done ...
125 views

### Do loop with If condition

I have the following formulas: 1- A cross section: sigma[beta_,alpha_,Y4_] := c^2/(256*Pi) * (1/2) ( Ytt[beta,alpha,Y4]/ m ) * Abs[A]^2 Where c is a strong ...
102 views

### Solve an equation in several variables

I'm new to Mathematica, so my question may be quite trivial, but I need help. Let $F(x,y,a,b,c,d):\mathbb{R}^6\rightarrow \mathbb{R}$ be a function in 6 variables. I need to find conditions for $x$ ...
26 views

### Probems using 2 For and a AppendTo to cycle through my Equation to solve some matrixes

I am trying to solve a few problems here. I have an equation with multiple variables that I am trying to solve in For loop method. I will attach the file below. In addition I am trying to get it to ...
33 views

### An error in Do Loop

I previously asked a question a bout how to make Do Loop with if condition in this post: Do loop with If condition Actually I applied the answer of @JasonB by using Reap and Sow on a function in ...
81 views

### Add marks in multiple functions in Plot

I am looking for any options to draw 2D plot of differently marked curves for given functions, thus one can distinguish it by the provided legend. For instance: ...
81 views

### Override a PlotTheme element at the Options level?

Edit: I am still using version 10.1; has anything changed by 10.4.1? Plot properties defined in a Theme override (supersede) properties defined on Options. This ...
27 views

### How does one use InputField in CDF Player? [on hold]

The Wolfram website says "InputField[x, Number] works normally in CDF Player, Player Pro, and Mathematica." So I made a CDF with this code: InputField[x, Number] When I try to run this in CDF ...
67 views

### How can I fix my code? [on hold]

I am running this following code in Mathematica. It shows some error message. I have no problem with it. But it does not show the output for $m=1/2$. It shows me the output when $m=1$ and $m=2$. How ...
67 views

### How to generate grid points on boundary of $[-1,1]^d$ for arbitrary dimension $d$ and specified resolution?

This must be a trivial thing but I was not able to find a function for it in Mathematica. How do you efficiently create a grid with constant but specific resolution $r$ in all directions on the ...
100 views

### Why does this recursive pattern guard not work?

I have the following list: ...
35 views

### nonatomic expression expected when trying to sum of the integrals of two functions

newbie to MMA. After computing the following two integrals: ...
85 views

### How can I define MakeBoxes for Inactive forms of user-defined heads?

Here I define a MakeBoxes for Times: ...
2k views

### Scan vs. Map vs. Apply

I cannot understand the difference between Apply, Scan, and Map. I have tried to play with ...
94 views

### Image Filtering in the frequency domain

Here is a good starting to fiter image in the frequency domain lena = ColorSeparate[ImageResize[ExampleData[{"TestImage", "Lena"}],{121,121}]][[1]]; (Create a ...
28 views

### Speeding up solving nonlinear Schroedinger equation in 3D with NDSolve with periodic boundary conditions

I have a question on speeding up solving nonlinear Schroedinger equation in 3D with NDSolve with periodic boundary conditions. I build the ODE system with NDSolve...
532 views

### How to simplify writing LibraryLink code?

LibraryLink is an API for extending Mathematica through C or C++. It is very fast because it gives direct access to Mathematica's packed array data structure, without even needing to make a copy of ...