3
votes
0answers
71 views

Where's the service status page for Programming Cloud?

I've searched wolframcloud.com and found none. It would be good to know, because I am getting a range of apparently random failures from "Tag List ... is Protected" to "possible crash" (!) to "Cloud ...
8
votes
1answer
105 views

Iterator variable not blocked in ParametricPlot

Bug introduced in 10.0 and persisting through 10.2 or later It appears that perhaps the iterator variable r is not Block-ed ...
4
votes
1answer
112 views

LogLogPlot plugs in zero

Bug introduced in 10.0 and fixed in 10.0.2 In testing the answers to Plot result of non analytical-integral in V10.0.1, I came across this behavior of ...
4
votes
0answers
114 views

Tracking features where ImageFeatureTrack finds none?

How is it possible to track common features in the following sequence of images (e.g. holes or corner points along the top margin), ? I have had no luck with ...
35
votes
2answers
839 views

String-manipulation bugs in v10.1

Fixed as of 2015-04-06 via paclet update. The new version 10.1 has introduced some strange (possibly buggy) behaviour compared to v10.0: ...
2
votes
0answers
394 views

Crank-Nicolson scheme for the Schrödinger equation

I am trying to solve the 1-D Schrödinger equation with the Crank-Nicholson method. I use the atomic units: time < 10^-14 => 413 a.u.t. length 30 * 10^-9 m => 567 Bohr radii ...
2
votes
1answer
63 views

How to extract part of association?

Considering an association: asc = <|"a"->1, "b"->2, "c"-><|"e"->3, "c"->4|>, "d"->5, "e"->6, "f"-><|"g"->7|>|> How ...
5
votes
3answers
237 views

List all “duplicate” elements in Tally

Tally[list,test] can use a custom function test to judge if elements are equal. But the output will only give the first element ...
6
votes
0answers
57 views

A book or tutorial/guide for “Systems Interfaces & Deployment”

I'm looking for a complete guide (call it a book, tutorial, guide or whatever) about some programming topics which are not enough covered by Mathematica Documentation Center, in my opinion. Topics ...
0
votes
1answer
76 views

Plot a circle and create a 3-D revolution plot out of it

If I have the equation (x-2)^2 + (y-2)^2 == 1 I can use a ContourPlot, however am having trouble changing the axes origin. I ...
1
vote
1answer
86 views

Pulling out a prefactor from a dot product

I have three complicated vectors u, v and w as well as three simple prefactors ...
1
vote
1answer
200 views

How to increase the thickness of the edge in a random image

This is a Voronoi Diagram. I really want to know how to change the thickness of the "wall" of each V-cell, in another words, the thickness of the edge in this diagram.
1
vote
0answers
37 views
8
votes
2answers
246 views

How to define the Bernstein function like the built-in BernsteinBasis?

We know the Bernstein function defined as below: $$B_{n,i}(u)=\binom n i u^i(1-u)^{n-i}$$ And we define $B_{n,i}(u)=0$ when $i<0 $ or $i>n$ In addition, the first derivative of $B_{n,i}(u)$ ...
4
votes
2answers
96 views

Usage of StringTemplate

The documentation for StringTemplate has the following example ...
2
votes
0answers
90 views

Mathematica file transforms to some strange format

I am facing a very annoying problem with mathematica file. Sometimes it is automatically saved in a "pdf like" bizarre format. Each input and output line of the original (.nb) file starts with In[#] ...
-1
votes
1answer
72 views

Pulling variable out of NonlinearModelFit [closed]

I have a fit, Dynamic[f1 = NonlinearModelFit[d1, a Exp[-(b (x - c1))^2] + yoff, {a, b}, x]] Where I need to be able to access ...
2
votes
1answer
70 views

Confusion over blank sequence in pattern matching

My overall goal was to produce a list of heads used in a graphics output. For an example I used: ...
2
votes
0answers
77 views

Minimax for conditioned UnitStep functions [closed]

I made a simplified version of my problem, and I have now: ...
0
votes
1answer
160 views

How to solve constraint differential equations using If function

I have to solve a series of differential equations along with a constraint that has to be satisfied at each point of time where $t\in [0, 100]$ The model parameters are ...
2
votes
1answer
305 views

Potential flow over cylinder with FEM: Pressure field is flipped

Much in the fashion of a few problems already answered on Mathematica.SE (1, 2), I am trying to solve the Laplace equation in velocity potential $\phi$ to simulate irrotational, inviscid flow over a ...
0
votes
0answers
34 views
-5
votes
1answer
85 views

how to change parameters in NDSolve? [closed]

I want to solve a PDE with parameters chosen based on the sign of derivative. For instance in the following PDE ...
2
votes
1answer
121 views

How can I write a loop to get many values from a solution?

I am looking at the value of x[t] at day t = 200 over several years. I tried to do it using a For-loop but it didn't work. This ...
0
votes
2answers
61 views

Function to list Collatz sequence doesn`t work [duplicate]

I am new to Mathematica and was trying to make a function that lists the Collatz sequence stating with a given number, but I can´t get it to work. Here is my function: ...
1
vote
1answer
101 views

How to plot a function defined by an expression containing integrals [duplicate]

It seems Mathematica does not like it when it is given a function defined by an integral to plot. How would one plot a function $F(x)=\int_0^x\int_0^xf(t,s)dtds$ on a given interval? Edit In ...
1
vote
0answers
99 views

The module load only works for the first node, not all. Is there's a way to specify the full path to the math command when launching remote kernels

Running a Mathematica .m file in cluster for parallel computing. But get an error "bash: math: command not found". Is there's a way to specify the full path to the ...
3
votes
3answers
123 views

List connectivity of points in discretized mesh

I'm trying to automate the extraction of the points and a compatible connectivity list for meshes created using the DiscretizeRegion or similar method. If I create ...
6
votes
2answers
164 views

PlotLegends “Expressions” default for ListPlot?

gwr pointed out an apparent problem with setting a default Option value of PlotLegends for DateListPlot. I traced the problem ...
1
vote
3answers
263 views

The biggest exponent that can be computed

I am struggling with my crypt assignments and constantly getting overflow errors. Below is a simplified version of the problems I am experiencing ...
4
votes
1answer
40 views

Relative factorisation with scalar quantities

I'd like to find a natural way to tell mathematica that a given unknown in a polynomial should be treated as a number, unlike the other variables. Typically I'd like to sum two polynomials in several ...
0
votes
1answer
79 views

Multivariate Equation solving [closed]

I have the following equation: r^(1 + Rho) - r^Rho (-1 + Mu) - z Rho == 0 I searched the list but I couldn't come up with a solution. Any help is appreciated. ...
3
votes
3answers
154 views

Find position avoiding For loop

I have a list: {a,b,c,d,e,f} And a function sizeFunc[element_] which returns the size ...
3
votes
2answers
316 views

Generating Meshes with Conforming Boundaries for FEM

I would like to solve a PDE on an annulus with some boundary condition that relates the inner circle to the outer circle. (For example, periodicity along radial lines). If I use a finite element ...
2
votes
2answers
229 views

Import a column of data, make a matrix from it and export it WITHOUT curly braces

I'm new here and with Mathematica, too. I want Mathematica to import data from a txt file (it has one column of data). These entries are z-values. From this I want to make a matrix - 508 entries make ...
5
votes
1answer
71 views

Export XMLElements with MathML contents

Setup Here's my mathML expression: mathML = ExportString[1/2, "MathML"] ...
3
votes
1answer
362 views

Decode a text which is encoded with UTF-8

I would like to decode a text which is encode with UTF-8. My code is here : ...
8
votes
2answers
3k views

Gram-Schmidt Process for Polynomials

I want to implement the Gram Schimdt procedure to the vector space of polynomials of degree up to 5, i.e. I want to find an orthogonal basis from the set of vectors $v=(1,x,x^2,x^3,x^4,x^5)$. The ...
0
votes
1answer
329 views

Plotting curves with different filling styles and gridlines? [duplicate]

Here's a plot of some lines with different styles of filling and one gridline displayed: ...
6
votes
3answers
265 views
3
votes
1answer
264 views

Welcome screen (V9): selecting notebook from Open Recent … results in initialization cells not evaluating

The following represents an abbreviated example of more complicated code, but it replicates a problem the more complicated code encounters. ...
0
votes
0answers
131 views

PDE: Inconsistent equation dimensions

EDIT: I need to solve the following PDE: $\nabla^2\vec{A}=-\mu_{0}\vec{j}$ where $\vec{j}=\sigma\vec{E}$ and $\sigma=1*10^{10}$ which basically boils down to three different PDE's; ...
0
votes
1answer
148 views

How to parse a .css file generated by Mathematica? modify values, add some values

How can I parse a .css file generated by Mathematica, for example when exporting a notebook to HTML? What is te best way to modify or add new values to the CSS? I've written a simple function to add ...
0
votes
1answer
248 views

RegionPlot of an area inside a polar plot (or its equivalent parametric plot)

Let' s take a most simple example for a polar plot, the Archimede's spiral. ...
13
votes
2answers
352 views

Why is NeighborhoodGraph so slow?

To get neighboring vertices I first tried: gg = GridGraph[{10, 10, 10, 10}]; VertexList[NeighborhoodGraph[gg, 1, 1]] // AbsoluteTiming {5.539308, {1, 2, 11, ...
9
votes
1answer
472 views

Version 10.2, key shortcuts for matching brackets do not work?

Bug introduced in 10.2 System: Linux Once updated to 10.2, my Alt+} and Alt+) do not return a pair of brackets but a single right one, as if Alt is not pressed. Alt+] still works.
1
vote
0answers
69 views

Use Solve[] with Bessel, gamma, and hypergeometric functions?

I need to find values of {a,b,c} such that the 0th, 2nd, and 4th order moments of f[x]=Exp[-ax^4 - bx^2 - c] will equal respectively {1,2,10}. I didn't really expect this to work, and it didn't: ...
2
votes
2answers
174 views

Plotting a function with implicitly defined variable

I have a question about plotting a function with an implicitly defined variable. I think the solution should be something similar like here: Define a function with variables linked implicitly but I ...
3
votes
2answers
228 views

Storing Variables in “Loops” and Point Plotting

Given the function $y=\sin x$ defined over the region $-\pi \leq x \leq \pi$, I need to implement a "do loop" such that I sweep over 100 or so points $-1 \leq y \leq 1$ and find precisely the two $x$ ...
0
votes
1answer
141 views

Sum with 2 different variables

I want to plot Contour or Streamplot a function with a sum. The first part (Abs[v/u]>1) looks like this: $L(u,v)=\sum_{s=0}^\infty \frac{(-1)^s}{2s+1} ...

15 30 50 per page