# All Questions

61,697 questions
335 views

### PairwiseScatterPlot with histograms along the diagonal

The built-in function PairwiseScatterPlot has been discussed for example here: Scatterplots for subsets of multivariate data [Updated]. However, I find it not very ...
3 views

### InstallR[] failing in Mathematica 12

I was trying to use R with Mathematica 12 tried these three commands, Needs["RLink"] InstallR["RHomeLocation" -> "C:\Program Files\R\R-3.5.1", "Rversion" ->"3.5"] I am getting this error JLink'...
179 views

### Pairwise Scatter Plots with Histograms and Correlations

Has anybody written a function which can scatter plot data with histograms and correlations? Here is an example form MATLAB. This is related but does not print correlations. R has a similar function. ...
78 views

### Could this problem be tackled using Mathematica?

I posted this question on Math, but there has been silence there since. So, I wonder if anyone here can get any closer to the answer to my question using Mathematica. Here is the question: Suppose I ...
28 views

### How to use the roots of equations

Can anyone explain to me how can I use the roots of an equation? Let clarify my question with one example. Suppose that I have an equation which I want to find its root: ...
300 views

### How can I simplify $\lim_{n\to \infty } \, \int_0^n e^{-x} \left(1-\frac{x}{n}\right)^n \, dx$?

How can I simplify $\lim_{n\to \infty } \, \int_0^n e^{-x} \left(1-\frac{x}{n}\right)^n \, dx$ ? Limit[Integrate[(1 - x/n)^n/E^x, {x, 0, n}], n -> Infinity] ...
10 views

### Warning: “{number} is too small to represent as a normalized machine number" and SetPrecision

I have the following summations: The code: ...
82 views

### How do we optimise double Tables?

I have made the following code which I shall explain it in two parts: First Part: ...
47 views

### How to differentiate a function constructed through FindRoot?

I am trying to maximize a function which has as a variable another function that was solved numerically using FindRoot. My code is below.I start by defining some parameters ...
54 views

### Defining functions from strings

Blank symbol (_) is moved when applying ToExpression to the following string: ...
58 views

### Evaluating FourierTransform like integral manually

I am trying to evaluate Integrate[x^2*Exp[I k (x - 1)], {k, -∞, ∞}, {x, -∞, ∞}] Since $\frac{1}{2\pi}\int_{-\infty}^{\infty} e^{ik(x-1)} d{k}$ is $\delta(x-1)$, ...
25 views

### Is there a limit to the amount of curated data that can be retrieved?

Mathematica provides access to curated data on many entities. For access to some of the curated data (e.g. current exchange rates), users must have an internet connection. Is there a limit (i.e. quota)...
40 views

### How to use Manipulate for protein sequence alignment?

so I have the sequence of a protein from Chain A and Chain B and I want to use manipulate to show what parts of sequence are identical.
53 views

### How do I use Solve with conditional equations?

Short version: How do I have Solve handle a system of equations where some of the equations may be conditional? Simplified Problem: I am solving the following system of equations: a * b = 10^-14 b^...
35 views

### SparseArray: how to efficiently extract/delete many entries?

This is a follow-up of this question. We have a large $m\!\times\!n$ matrix stored as a SparseArray a and a list of positions pos...
44 views

### Is it possible to overwrite a button output?

For example, if I have this basic button Button["Sum", Print[2 + 2]] is it possible to overwrite the same output without creating a new one and have a single 4 ...
177 views

### Maximum of determinant of $n\times n$-matrix with elements 0 and 1

Generalizing https://math.stackexchange.com/questions/3265627/largest-value-of-a-third-order-determinant-whose-elements-are-0-or-1 I'd like to propose two related problems (a) find the maximum value ...
33 views

30 views

### FullSimplify does not simplify at all

I have some problems simplifying things with FullSimplify. Suppose a matrix ...
33 views

### How to make panel in order to visualize diffrent color proteins?

I have 3 different plots of proteins and I want to display them, but what should I use, Manipulate, Dynamic Manipulate, etc. In the case for manipulate I also was thinking using viewpoint in order to ...
56 views

### Create an array whose index are given by a list (not necesseraly regularly spaced)

I would like to create an array f containing n indices. The label of those indices is stored in a liste of length n, let's call it "list". So I would like to have something like : {f[list[[0]]], f[...
105 views

### Visualizing only the chain of a protein and color each residue in Mathematica

Is there a way to visualize in cartoon a single chain of a protein using ProteinData and color the residues by its chemical properties e.g. hydrophobicity, acidic and basic ? The issue here is that I'...
52 views

### Mesh quality error with interpolation of table

I am trying to interpolate a table of the following form. {{x1,y1,z1},{x2,y2,z2}...} Where z depends on x and y, and x ranges from 0.01 to 1 in steps of 0.01, ...