# All Questions

51 views

### How to take a list and build sets of 2 elements without duplicates?

I am new to Mathematica so the answer to this question is probably easy. I have a list of 2D-points in the form {{x1, y1}, {x2, y2}, ...} Then I have a function that will take two points and test ...
150 views

### How to do this 3D grid drawing? [on hold]

The idea is to make axes 3d, with a more subdued in black mesh, and shafts with their respective numbers with a maximum of 10 in each (black to print after the size of half a sheet craft, vine also ...
40 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 ...
702 views

### How to create this spikey in Mathematica?

I came across this post while messying around the StackExchange mobile. I think this thing can be easily done by Mathematica as well but I'm not an expert in geometric field. Can anyone give some ...
73 views

### Why isn't SparseArray working in this case?

This works: SparseArray[{{1, 1} -> 1, {2, 2} -> 2}]\ (* {{1, 0}, {0, 2}} *) This works: ...
33 views

### How to make a Dataset a Vector or Matrix? [on hold]

I have a Dataset containing some data. I would like to extract single columns as vectors so that I can perform vector and element-wise operations on them. Is this possible in Mathematica? For ...
68 views

### How can I find the Quandl codes for metals?

Probably not the right site to ask this, but how can I find out the Quandl codes for different commodities? For example, gold against USD? Tried "CURRFX/XAUUSD", ...
64 views

### Slow evaluation of Recurrence plot data from NDSolve: Performance Tuning

I am trying to use a recurrence plot to pinpoint the location when a system re-visits a previous point in its phase portrait. The system (a thin liquid film) is governed by a non-linear differential ...
179 views

### Samuel inverse graphing calculator

Samuel Inverse Graphing Calculator (http://www.xamuel.com/inverse-graphing-calculator.php) is a amazing tool. Whichever be your language, you can transform a sentence in an equation. I hav try with Yo....
34 views

### VectorPlot3D in cylindrical coordinates

I am using VectorPlot3D to plot fluid flows (in the form of a velocity field), however, I go through quite an involved process to convert flows in Cylindrical ...
170 views

### Efficient way to compute a complement while respecting multiplicities [duplicate]

Suppose I have list2 which is a subset of list1. I want to get a res by deleting an element ...
30 views

### How to Extract Continuous .png Graph by Constant Piecewise Velocity? [on hold]

Time-Potential Data where the where the absolute values of axis do not matter but the points have possibly an equidistant piecewise velocity when comparing to the thread because regular jumps in the ...
177 views

### Why is my ListPlot rounding up fractions?

I'm trying to create a ListPlot that compares a country's poverty fraction with its cellular phone fraction. I'm using this to create the table. ...
61 views

### ArrayPad with vectors [on hold]

I would like to pad a nested list like M = {{{a, b}, {c, d}}, {{e, f}, {g, h}}} with some constant "vector", e.g. {0, 0}. ...
113 views

### Finding area of intersection regions

I want to be able to find the area of the intersection between a hexagon and a slice. I have tried RegionMeasure or Area but I ...
36 views

### Inconsistent behavior from RegionMeasure on the RegionIntersection between a Polygon and a Line

Consider a Polygon with lines drawn between two of its vertices, ...
553 views

### Impose the color for one discrete value above a color predefined gradient

If I plot an array with option ColorFunction -> "Rainbow": ...
512 views

### Mysterious behaviour of Pick

As everyone knows, Pick can do amazing things, The most facinating phenomenon is that it can pick though all sorts of lists: The basic & pattern matching: <...
50 views

### Putting plots and graphs on a word document [duplicate]

Is there a way to copy and paste or save an image of a graph into a word document?
69 views

### Gauss-Jordan program in Mathematica

Hi to everyone I made this program to solve a linear system by Gauss Jordan, this is my code to solve the system: ...
121 views

### Create a filled ListPlot, where the points in the list come from within the regions rather than from the region boundaries

Is it possible to fill, color, under the points in ListPlot where the points define the area and the boundary? Assuming that the number of points are large enough ...
103 views

### how to update elements in a matrix with position identified in a list

I am new to mathematica. Could you pls help me on how to write this: I have a $5\times 10$ matrix, for example, ap = ConstantArray[0.001, {5, 10}] I have the ...
72 views

### Drawing a circle with radius = 40 miles around Bunnell, Florida

The following works: ...
234 views

### Trace of intersecting planes

I have a set of curved planes that intersect each other. I only want all the parts of all planes displayed that are above the intersecting traces. Further, I would like to highlight the intersecting ...
78 views

### Double Sorting a Matrix

Say I have two matrices {{0, 1, 2, 2}, {2, 1, 0, 2}} and {{2, 1, 0, 2}, {2, 1, 2, 0}} I then sort by the first row ...
195 views

### Mathematica implementation of Zeilberger's algorithm (previously done in Maple)

I have this Mathematica code: ...
110 views

### Automatically add debug contents to a program

Sometimes I'll use Print[1] or Print[n] to debug in a long loop, but it's really a boring job to add these sentence by sentence ...
58 views

### How to make the variables in $init.m$ not impact the autocompletion

The autocompletion is very convient in Mathematica,but it will make one annoying sometimes when you have a ton variables.I give a scene I encounter.I usually make ...
45 views

### How to plot data with different colors (or symbols) depending on a condition [duplicate]

Let's consider a simple example. I want to plot a function on [0;2], depending on a condition: if x<1, I want to plot ...
384 views

### Integration of linked PDFs over probability simplex

I'm trying to integrate the following expression: f[a1,p1+p2+p3+p4]*f[a2,p2+p3+p4]*f[a3,p3+p4]*f[a4,p4] Where ...
56 views

61 views

### Importing Data to interpolation

I have an external file in extension XLS with looks as follows: This file can be obtained by the link below: Velocidade Angular With certainty this file is generating a list inappropriate for the ...
156 views

### Conjugate[a/b + c/d]

Trying to obtain the result of Conjugate[a/b+c/d] only gives the same result. As such, I use Refine as: ...
111 views

### The implementation of FunctionRange

How exactly does the FunctionRange work? What kind of algorithm does it use? I looked it up in the manual but it doesn't provide any references or even a name of ...
66 views

### Display of ConfusionMatrixPlot depends on Stylesheet [duplicate]

I´m using Classify and do the testing via ClassifierMeasurements. Now I observed that ConfusionMatrixPlot is not shown correctly when using StyleSheet Report(default). Maybe you can reproduce (example ...
289 views

### How do I edit the background of Axis labels in my plot?

I'm using the standard report stylesheet in Mathematica and when I output a plot, I've set it up so that I get a white background, however the axis labels still have a gray background. How do I change ...
44 views

### Simplify a complex trigonometric equation resulting from constraint solving

In the solving of mechanical constraints, I often meet complex trigonometric equation that I have to simplify. Here the equation I would like to simplify : Mathematica notebook presenting the ...
392 views

### Nothing not behaving as expected?

I was thinking that Nothing was doing the same job as the vanishing sequence ##&[]. Yet this exemple shows it doesn't. ...
80 views

### How to create permanent intra-notebook links [duplicate]

I'm trying to create a documentation notebook for a package and have entries which reference other entries. I'd like to include the hyperlinks in text formatted cells so that when a reader clicks on ...
115 views

### Weird Mathematica Crash [duplicate]

One hour ago, my Mathematica 10.4 StudentEdition, completely crashed, stopped to respond, after I typed 2 letters. For example I wanted to type the command ...
107 views

### My plot is cut off if a frametick is “0” but resized if a frametick is “0.” Why?

I have been trying to customize the frame ticks and frame label around a certain contour plot and am running into very strange behavior where the graphics will get cut off by ...
90 views

### Inverse action of Thread

I cannot find the original post now, but I'm quite sure that there's an amazing post teaching us how to do Thread on ragged lists. but my problem is how to inverse ...
112 views

### How to Copy formatted code without backslashes added?

By default code copied from the FrontEnd is formatted with backslashes added at the ends of lines. For example, evaluating in a Notebook Range[40] and copying ...
133 views

### How do we draw some auxiliary lines for typical values of the function in a 2D Plot?

I want to draw some auxiliary lines for typical values of the function in my graph like these blue dashed lines: Also, I want to put the values of the lines by the lines like above one. Do you know ...
82 views

### Good looking small plots

Is there a way to make Mathematica adjust the amount of visual clutter (ticks, tick size, linewidth) depending on ImageSize? Long version: I would like to include plots from Mathematica in a LaTeX ...