# All Questions

75 views

### Reduce / Solve cannot solve simple equation

Why does Reduce[{a^b*c^b == c, 0 < b < 1, a > 0, c > 0}, c, Reals] give ...
153 views

### Find roots of a peak to calculate its width at 10% peak height

I have numeric data points (x,y) values from a peak. I constructed a interpolation to get an interpolating function. Interpolation[data] What I want to do is the ...
27 views

### What makes items with head Function different?

I apologize beforehand for the muddleheadedness of this question. It reflects the fact that I'm trying to interpret outward "behaviors" of Mathematica expressions without having any understanding of ...
107 views

### Convolution of Airy disk and Gaussian function

I would like to plot the convolution of an Airy disk, [((2*BesselJ[1, x])/x)^2] and a Gaussian function [Exp(-(x^2)/(2*c^2))]. ...
47 views

### Accessing Coordinates of Astronomical Data, e.g. Declination of all Galaxies

I am trying to access the coordinate information of all galaxies, stars, etc, available to the new astronomical data incorparated to Mathematica. However, the suggested (documented) approach fails. ...
59 views

### Investigating the correlation between this 2 set of data

The picture below shows the growth of the traffic and the total number of published articles on that website. Which functions can I use to investigate if there is a correlation between them? Both ...
69 views

I noticed this question in Graphic Design SE. I wondered whether it was possible / any easier in Mathematica? Image reporoduced below:
63 views

### How can I plot more regression trend line in the same graph?

I would like to do something like the example I drawed manually: ...
140 views

### Why does it matter at what point I replace?

I need to find four orthogonal linear combinations of complicated functions, that vanish at four different points. I use (LK4 is defined below, but its shape should have nothing to do with my ...
27 views

### Coupled Mass Transport in two media using NDSolve

I'm trying to model simple 1-D diffusion in two media with different diffusivities. It's a transient problem so I have a PDE. I have concentration everywhere = 0 at time t=0, and suddenly at t>0, I ...
72 views

### Conjugate of I \[Phi] [closed]

I have a bigger expression of which I have to take the conjugate. But this is in itself perplexing. When I write ComplexExpand[Conjugate[I\[Phi]]] I just get ...
116 views

### Importing large data without using Import [closed]

I have around 240 files with lots of data, I have been using Import[] to import these data for further processing. But as my simulations are growing bigger, I am ...
132 views

### Using the Baby-Step Giant-Step algorithm

Here is a concept I am working through: As part of an attack on an El-Gamal cipher, solving the discrete logarithm problem $$10^x = 532107 \;\, {\rm mod} \;\, 1313839.$$ Using the ...
83 views

### Why does ReplaceAll behave so oddly?

ReplaceAll can behave a bit oddly. Consider ...
36 views

### Testing Conditions in For Loops

I am attempting to create a set of coefficients that satisfy a set of conditions using the Do function and If statements. I did this successfully with a basic set of conditions: ...
55 views

### Puiseux series for algebraic curves

Has anyone implemented a function in Mathematica that computes Puiseux expansions of algebraic curves? Using something like ...
524 views

### Why aren't parentheses ( ) an expression in Mathematica?

Why aren't parentheses ( ) an expression in Mathematica? Can I get an expression in a form where parentheses are represented by an expression?
68 views

### Factoring large integers with the Pollard p-1 method

I am trying to use the Pollard $p-1$ method to find the factors of a large integer. Here is the problem: An RSA-type cipher is based on the integer $n = 140016480344628383$ and exponent ...
147 views

### truncated square wave input

I'm investigating the response of some dynamic system on Mathematica and I want to generate a tailored square input like the one in the following picture: Does anyone know how to generate such input ...
96 views

### Revolution of two curves around the y-axis

I've looked through the other posts on rotating a function around the x or y axis and haven't had any luck. my question is this how do i rotate the area between the functions $f(x)=x^2+1$, and ...
54 views

### Having trouble interpreting the results DSolve gives for the Laguerre equation

I am trying to solve a second order ODE using Mathematica. Before I get into solving my (more complicated) problem, I am trying to use DSolve on known ODEs to check that the answer that Mathematica ...
46 views

### How do I use DictionaryLookup to exclude words with certain phrases?

I'm looking to use DictionaryLookup to search the English dictionary for words that don't contain certain strings. For example, I want to exclude ...
62 views

### Interactive graphics without creating a new cell

A simple graphics command creates a red circle and a blue square: Graphics[{Red, Disk[{0, 0}, 0.5], Blue, Rectangle[]}] I can "close this up" by double ...
122 views

### Slow program- Mathematica shuts down

I've been trying to draw dynamic pictures of level sets of certain polynomials. The code right now looks like that : ...
42 views

...
275 views

### Does Mathematica store hidden information for matrix objects?

Bug introduced in 10.0 and fixed in 10.2.0 I found a case where calling one built-in function (HermitianMatrixQ) for a given matrix changes the behavior of ...
33 views

### ImageSize in Export

According to the documentation, Export["foo.eps", out, ImageSize->500] should produce a graphic that is 500 printer points wide. When I execute that command with ...
64 views

### Basic (?) dynamic module questions (If clause and refresh problems)

I'm building a dynamic module, but I'm stuck with a few things i don't know how to deal with. In particular I'm stuck with the "If" sentence and the refresh inside the dynamic module. Here's a ...
61 views

### How does Mathematica automatically choose which classifier method to use?

I'm interested in what heuristics are used in Classify's choice of method.
66 views

### Factoring out parts of an expression

I'm looking to factor out the parts of a multiplication type of expression. For example for the expression: $$20 e^{-t^2}\frac{t^2}{\sqrt{t^2+a}} erf(b+t)$$ I'd like to get a list in the form of: ...
11 views

### Logarithms of different bases in TraditionalForm [duplicate]

Is it at all possible to have Mathematica express logarithm functions not in base $e$ using TraditionalForm? Currently, I have the graph of the function $-\dfrac{1}{2}\log_4\dfrac{x}{3}$, but ...
55 views

### Plotting the image of a curve under a complex polynomial using Mathematica

I would be able to plot the image of a curve (say the circle with radius $1$ centered at $1+i$) under a complex polynomial (say $p(z)=z^2$) using Mathematica. I know how to find the level curves of ...
108 views

### Fundamental question about capabilities of Mathematica to represent abstract mathematics [closed]

I have an fundamental question about what Mathematica can and cannot do. I have a book which presents a certain physical theory in an axiomatic manner. The axioms make heavy use of mathematics. Some ...
65 views

### Two unrelated questions: 1. Output of Series[] for function, 2. Output conditional answers as if not conditional [closed]

As mentioned in the title, I have two questions. 1. I have code that looks similar to: ...
110 views

### How to stop optimization (e.g. NMinimize) after reaching target value

Suppose we have some function f[x,y] that we want to optimize in way that we are only interested in values (x,y) that guarantee ...
75 views

### How do I flip x and y value of a list in mathematica? [closed]

I am very new to mathematica. I have been trying to the following without any success. I have a list like this : data = {{1,2},{3,4},{5,6}}. I want a list ...
39 views

### How to use a While loop with NDSolve?

So basically I have this coupled ODE system I'm trying to solve numerically: ...
70 views

### Plot a function with a discrete part

I would like to plot a function like this one: ...
34 views

### NDSolve with external function

I have a complicated function g[a_,s_,t_] where s_and t_ are constants added by hand for ...
101 views

### Setting up parallel remote kernels

I'm having trouble setting-up a parallel remote kernel. I have correctly set-up remote kernels and can use them instead of the local kernels, by executing tunnel.sh ...
67 views

### RegionPlot3D of MeshRegion with VertexColor-like behavior

I regularly use the VertexColors option with GraphicsComplex[] to render images of objects with certain attributes at the ...
93 views

### Calling CUDA cuFFT

Following ybeltukov's excellent answers (see here and here) about how to access the CUDA library functions and interact with Mathematica through CUDAMemory, I tried to compile the code given in ...
120 views

### NIntegrate-ing a compiled function

I'm trying to integrate numerically in 6 dimensions a very long expression and I read about the option to NIntegrate a compiled function which should be faster. ...
98 views

### how to cancel arbitrary term in fractional formula

I often encounter this kind of problem that I want the fractional formula to be looked like the way I want it to be. For example, this one $$\frac{R^2 \left(g m_1-g m_2\right)}{J+m_1 R^2+m_2 R^2}$$ ...
26 views

### 4D array not exporting to .mat file

I am using Mma 9.0 I am trying to export an array with Dimensions {5,100,160,160} to a .mat-file using the Export command, but ...
87 views

### Import csv file which contains columns of different lengths --> How can I delete empty fields?

I have the following problem: I want to import a csv file into Mathematica. I file as a lot of rows and columns, but the column lengths differ for certain rows. 2 columns always belong together, ...
60 views

### Unevaluated form of an expresion [duplicate]

I have two matrices - s1 and s2. I want their sum to remain unevaluated. For instance, the command ...
48 views

### RegionPlot problem: bug or mistake?

The following produces a plot that looks reasonable: RegionPlot[0 <= (x x - y y) (10000.0001) + 31250 <= 2027910.624, {x, 0, 700}, {y, 0, 700}] (The ...