5
votes
2answers
78 views

How can I draw ternary plot by these data?

I have these data and want to draw similar fifures in mathematica. any one can help me? ...
14
votes
4answers
2k views

All curves in plot have the same style. Cannot be fixed with Evaluate[]

Usually, when I plot multiple curves in Mathematica Plot[{x,x^2,x^3},{x,0,1}] they are given different colors. However, if I try to construct a list inside the <...
-1
votes
0answers
9 views

Simple qualitative sketches in Mathematica

I have always used Inkscape for sketches like the one below. Nonetheless, I am pretty certain that Mathematica is capable of creating something similar. How would I ...
0
votes
0answers
12 views

Plotting topological defects with VectorPlot

I have been trying to create a table with the graphs of the lowest winding number topological defects that can appear in a nematic Liquid Crystal. That is what I have been able to do so far: ...
0
votes
0answers
13 views

How to type greek letters on mathematica.stackexchange [migrated]

I usually ask questions on this website, and many of them contain greek letters in the code part. For instance: \[CapitalTheta]=0 After a while, someone edits ...
9
votes
3answers
318 views

Implementation of a matrix formula

For the Bézier surface, which owns the following matrix definition: $$\begin{align*} S(u,v)&=\sum_{i=0}^m \sum_{j=0}^n P_{i,j} B_{m,i}(u) B_{n,j}(v)\\ &=\small \begin{pmatrix}B_{m,0}(u)&\...
0
votes
0answers
21 views

How to pass variable to rule

To export figures with specific font family and size, I define the following: LaTexFonts = {LabelStyle-> {FontFamily-> "CMU Serif", FontSize-> 14}}; Now ...
15
votes
2answers
454 views

What is the right place for user-defined init.m?

What is the right folder to put a file init.m which will be run after all other init.m files applied by the various components of Mathematica have done their job? ...
5
votes
1answer
58 views

How does Context work?

I thought when we type a symbol without specifying its Context, it will search all the Context in ...
9
votes
6answers
305 views

Coloring an image with two Color schemes based on a Range

I would like to color an image generated from some data, using two color schemes based on two ranges of the data. This is my attempt: ...
2
votes
1answer
48 views

Henon Map Fixed Points Plot versus Iterations and Plot of the Map

For the Henon Map: $$ x_{n+1}=y_n+1-αx_n^2, \quad y_{n+1}=β x_n$$ I would like to discover period doubling bifurcations by varying the parameter $α$ and plotting $x_n,y_n$ versus the iterations $n$ of ...
1
vote
1answer
35 views
0
votes
1answer
46 views

Nested parameter selecting in Manipulate

I have the following code, stripped down from the original to the bare essentials: ...
0
votes
0answers
21 views

Is there an equivalent to Mathematica's ToString in R for use with RLink?

x = "vvvv" REvaluate["f(\"vvvv\")"] (*works*) Want to replace vvvv with x: ...
2
votes
1answer
63 views

difference between FullSimplify and Simplify

I have a problem to dinstinguish the following two mathematica codes, the only difference is the first use FullSimplify and the second is Simplify. but the results are totally different. what is wrong,...
-1
votes
3answers
55 views

How to use SwatchLegend in Show? [on hold]

Let us suppose i have two graphs for sequences A and B as follows ...
2
votes
2answers
34 views

How to transform the $y$ values in a list of $(x,y)$ pairs

How can I transform data = {{1, 0}, {0, 1}, {1, 1}} to {{1, f[0]}, {0, f[1]}, {1, f[1]}} This is similar to ...
0
votes
0answers
15 views

How to resolve this issue related to Conjugate?

When I perform the vector multiplication given below FullSimplify[{a,b}.Conjugate[{a,b}]] I am getting the result as I expect ...
0
votes
0answers
23 views

What are the differences between Clear, Remove, ClearAll, Unset and TagUnset, when to use which?

What are the influences of these operations on things like UpValues, DownValues, OwnValues and whether the kernel knows the symbol? When do I use which? I know ...
-3
votes
0answers
47 views

Quaternary drawing

I have these data and I want to draw such figure in mathematica. any one can help me? my data: ...
3
votes
3answers
111 views
0
votes
0answers
28 views

ParametricPlot3D step size

I tried to use ParametricPlot3D which appears in the kernel, such as; ParametricPlot3D[{xALL, yALL, zALL}, {ξ, 0, 5}, {η, 0, 3}]; but here parameter's step size ...
1
vote
1answer
97 views

Deleting vertices from Graph and preserving Structure?

My goal is to remove vertices from graphs (and the edges from them) and then take GraphComplement to find out cut sets in graphs with sink and source such as here. So How can I delete vertices from a ...
0
votes
1answer
24 views

How to pair elements of a nestlist? [duplicate]

I have a this list for example expdata={{49, 50, 51, 52, 53, 54},{0,3,5,2,0,1}} and I want to rearrange it like this ...
3
votes
1answer
142 views

Quick way to generate the Shepp-Logan phantom

I have some very old code for generating a Shepp-Logan phantom: ...
6
votes
5answers
518 views

another way to do this mapping of a two argument function

Sorry, I'm just starting to learn mathematica. I have the following two-argument function: h[{x_, y_}] := x ^ y When I do the following: ...
-1
votes
0answers
22 views

SparseArray Band with Array

Probably a very simple problem : Why do I get z^2 and not z, and in the other case it works with a number ? Thanks, Edit: Copyable Code ...
4
votes
0answers
43 views

Pre-processing and deconvolution of CLSM images

I have some confocal laser scanning microscopy data sets that I want to binarize for further analyses. Due to the fast bleaching dyes and the general scanning duration we established a setup which ...
76
votes
2answers
16k views

Is there an open source implementation of Mathematica-the-language?

I've seen questions before such as "What is the best open-source equivalent for Mathematica?", but that specific question (and that line of inquiry in general) cares more about the computer algebra ...
2
votes
0answers
21 views

How to deal with tensor argument in LibraryLink?

For the Bézier surface, which owns the following matrix definition: $$\begin{align*} \mathbf{S}(u,v)&=\sum_{i=0}^m \sum_{j=0}^n \mathbf{P}_{i,j} B_{i,m}(u) B_{j,n}(v)\\ &=\small \begin{...
2
votes
0answers
54 views

Fan beam tomographic projections in Mathematica

I am embarking on a little project to redo some of my old Matlab image processing code in Mathematica. I am particularly interested in tomography, and I know of the ...
5
votes
2answers
113 views
+50

Why isn't LowPassFilter working for these parameters?

First I define a function, just a sum of a few sin waves at different angular frequencies: ...
2
votes
1answer
79 views

Python Convolve2D functionality in Mathematica

I am new to mathematica. I am looking for an alternative for scipy.signal.convolve2d. I did find functions like ListConvolve, ...
0
votes
0answers
54 views

Henon Map Equation Trekker

I am trying to make an Equation Trekker for the Henon map in the following way: ...
0
votes
0answers
35 views

Expectation of summation with symbolic indices

I am working on symbolic computations with mathematica. I faced an issue with taking expectation of a large expression involving summations with symbolic indices. Is it possible to take expectation ...
0
votes
0answers
7 views

Any theorem which specifies the state (with energy $E$) with maximum entanglement [migrated]

Does there exist any theorem in quantum information which states that the particular state with energy $E$ is the state with maximum entanglement (or discord) among all possible state with the same ...
1
vote
0answers
30 views

A bug of PrincipalValue?

This question is related to this one, I encountered some weird outputs when trying to solve it. Here is the code: ...
0
votes
0answers
24 views

What does it mean that “there are no significant digits to display”?

So I substitued with the following values in my function T(x,n) and it gave me this red box with the value in the picture. When I hover over it, it tells me that there are no significant digits to ...
1
vote
1answer
51 views

Defined a function but it doesn't seem to work

I'm trying to implement the line-crossing algorithm on Mathematica and I seem to be having trouble getting it to work. More specifically, I would like to know what is causing the function to not ...
3
votes
1answer
28 views

License issue when USB-LAN stick is connected.

I have mathematica installed on my laptop which only have a wifi card. When I connect a USB-LAN adapter, even if it is not connected to the LAN socket, mathematica complains that the license is ...
1
vote
0answers
24 views

BSplineFunction defies numerical solution

I am trying to find an intersection between a straight line and a BSpline. The lines: ...
1
vote
1answer
38 views

Where can I see a full list of Classify[“FacebookTopic”] results?

I can see that Classify function has some built in classifiers, like "FacebookTopic". For example, if I type "Should I take an ...
0
votes
0answers
22 views

PlotRange -> All for Show [duplicate]

I want to fit a gaussian function to a data below: ...
34
votes
4answers
5k views

Fastest way to calculate matrix of pairwise distances

It is a very common problem that given a distance function $d(p_1,p_2)$ and a set of points pts, we need to construct a matrix ...
20
votes
7answers
2k views

Find intersection of pairs of straight lines

I have a list of 24 points, in which two consecutive points (1st and 2nd, 3rd and 4th, …) are supposed to form a line: ...
0
votes
0answers
52 views

Complex Analysis with MATHEMATICA [on hold]

I am interested in chapter 21 of the book: Complex Analysis with MATHEMATICA by William T. Shaw. chapter 21 - Conformal mapping II: the Schwarz—Christoffel mapping pp. 451-472 I'm not able to get ...
2
votes
1answer
104 views

Complicated implicit plotting

I'm quite new to Mathematica and have already spent tons of time on problems of this type, browsing through tutorials and topics here. I'm now coming to conclusion that it cannot be done and am about ...

15 30 50 per page