6
votes
1answer
870 views

Stereographic Projection

Say I want to represent points of the complex plane in the sphere $\Bbb S^2$ using stereographic projection. That is, the Riemann sphere: Specifically, it would be nice to be able to: Given the ...
1
vote
0answers
6 views

GridLines in TimelinePlot do not export to EPS

The below TimelinePlot produces the proper figure within a Mathematica session, but when that figure is exported as an .eps figure (to be used in a LaTeX document) ...
0
votes
0answers
10 views

I need help on the proper use of this formula to produce a cambered airfoil

Following the book on "The Theory of Thin Wing Sections" page #112 describes the method to combine a camber line (i.e Mean Line) and a thickness distribution to form a cambered wing section. Data ...
0
votes
0answers
7 views

Neural Networks in Predict function

I'm trying to reproduce the result giving by a Predict function with a Neural Network as the chosen method. So, I'm training from this set: ...
15
votes
1answer
224 views

Segmentation of sunspots

I recently went for a walk with my camera and snapped a few pictures of the sun. The pictures didn't turn out too well, but this was to be expected without a telescope. I thought it might be a nice ...
9
votes
1answer
278 views

Why is this infinite series wrongly computed by Mathematica?

Could you let me know if Mathematica (newer versions) is able to correctly compute this one? Sum[(-1)^(n + 1) Cos[3^n x]^3/3^n, {n, 1, Infinity}]
1
vote
1answer
10 views

Removing vertical/horizontal edges from some cell frames

I recently asked a question regarding adjusting adjacent cells' margins to make their background color appear continuous. With these settings in place, I'd like to put a single frame around the ...
3
votes
5answers
258 views

Pattern matching in nested lists

I'm sure this has been asked before, but I can't find the right combination of search keywords to find it. Apologies. I want to do a ReplaceAll on a list of lists, ...
3
votes
1answer
45 views

Possible Bug of loading Package @ Mathematica 10.1

When I open mathematica, there will pop-up some messages where << package` is in the following file ...
3
votes
0answers
18 views

Why is Transpose Dataset slow in one direction

Transpose is faster when it distributes Keys at the 2nd level of a Dataset than when it factors them out. ...
2
votes
0answers
42 views

Synchrotron Radiation and ListDensityPlot

I'm trying to reproduce this plots: For this task i'm following this blog entry: Synchrotron radiation As you can see there, the task is to make a DensityPlot of a vector field essentially. This ...
0
votes
2answers
27 views

Plotting direction fields along with trajectories

I am reading "Dynamics and Bifurcations" by Hale and Kocac, and in chapter one the following diagram is shown: Question is, how can I achieve the same plot using Mathematica? I've tried ...
1
vote
3answers
66 views

Finding intersections of two parametric curves

I am dealing with the root finding of two parametric data curves (data below). I have already checked Parametric Interpolation of 2D data, which I found useful for plotting, though it is not adequate ...
2
votes
1answer
49 views

Tensors with mixed symmetry

I want to work with tensors of mixed symmetry, for example with a rank 3 tensor $A_{ijk}$ that is symmetric under the exchange of $i$ and $j$ and antisymmetric with respect to $i$ and $k$. I was ...
2
votes
0answers
21 views

Transpose can't handle fractions

Related to this question, why can't Transpose handle fractions? (Note the doc pages for Transpose hasn't been updated for v10) ...
0
votes
1answer
67 views

Solve seems broken after I installed the package Tomatlab.m

After I downloaded the Mathematica package ToMatlab.m, Solve does not work as before: ...
0
votes
0answers
50 views

Integral equation

I'm trying to solve the following integral equation: Integrate[-k/2 Exp[-k Abs[x-z]] f[x], {x,0,d}] == a f[z] Differentiating twice with respect to z should ...
0
votes
0answers
27 views

Shocks in a dynamic continuous time system

I have the following continuous time system ...
14
votes
2answers
161 views

Color Blend in BezierCurve

How can I color a BezierCurve from Red into Green just as ...
4
votes
1answer
138 views
+50

How to program efficient undershoot/overshoot

I would like to solve the following boundary value problem for $y(x)$ for a fixed value of $k$ between $0 < k <1$: $$y'' + \frac{3}{x} y' - y + \frac{3}{2}y^2 - \frac{k}{2}y^3=0 \\ y'(0) = ...
0
votes
0answers
28 views

Showing all Digits

What is the simplest method to display all digits by adjusting this code? t = Table[1 + 10^(-n), {n, 1, 10}] // TableForm Output: 1.1 1.01 1.001 1.0001 ...
2
votes
2answers
151 views

Permanently rounding numbers/values to a given number of significant figures

I am searching for a simple way of rounding and setting an input to a desired number of significant figures. There are a vast number of posts that discuss similar problems, but none address this ...
0
votes
0answers
23 views

Link FROM mathematica TO c language

I have been working on linking C and Mathematica. I've found this link to be very helpful http://community.wolfram.com/groups/-/m/t/189735 However, what I would like to do is to write a program in ...
2
votes
1answer
128 views

Proving positive definiteness or semi-definiteness of a matrix

I have the following 4x4 real symmetric matrix: $K=\begin{bmatrix}3-3w & -\frac{4}{3}+a+2w & \frac{5}{12}+b-\frac{w}{2} & 0\\ -\frac{4}{3}+a+2w & -1-6a-3x & ...
2
votes
0answers
46 views
1
vote
0answers
12 views

Fit linear data with weights for y and x in LinearModelFit

I am quite new using Mathematica, I hope someone could give me some help. I have a set of {x, y} data and I have a list of {deltaX, deltaY} standard deviation. I would like to fit my data taking into ...
1
vote
1answer
24 views

Summation notation

I have the current setup for calculating Allan Deviation: which was coded as: Sqrt[Total[Differences[y]^2]/(2 (M - 1))] However, after doing some research, ...
1
vote
0answers
28 views

Making Mathematica function files like in MATLAB

I'm a MATLAB user trying to get familiar with Mathematica. I have long Mathematica sheet that spits out some matrices at the end after much math. I want to run a loop over couple of different initial ...
3
votes
1answer
57 views

Reap, Sow with Parallelize: bad performance, why?

I have a question about the performance of Reap and Sow with Parallelize. I am aware of the following questions How to collect result continuously (interruptible calculation) when running parallel ...
1
vote
0answers
52 views

Reordering numerically calculated eigenvalues assuming smooth dependence on a parameter

As was discussed in a different question here on SE (link) if you compute eigenvalues numerically of a matrix which depends on a parameter y, the resulting plot of ...
3
votes
1answer
28 views

Can I install the Stylesheet from a Mathematica Journal article?

A discussion from 2012 suggested that it should be possible to download an article from the Mathematica Journal and install its stylesheet locally. I can download the .nb file but can not seem to ...
0
votes
0answers
25 views

How to Remove a Specific Element From a List [on hold]

I have a list of elements of which 0 is a member. I want to express this list without any of the 0's. How do I tell Mathematica to remove only the 0's from my list? The 0's can show up more than ...
0
votes
0answers
42 views

Simplify large sum of fractions to shortest representation

I appear not to be able to find a way to simplify the following sum of fractions to its shortest representation. FullSimplify fails to do much, just as using ...
3
votes
3answers
208 views
0
votes
0answers
31 views

Boxed -> False does not work and I cannot figure out why? [on hold]

I am trying to construct the following graph, but when I add Boxed -> False I still have 2 vertices given. I cannot figure out why. Any help is highly ...
1
vote
1answer
34 views

Emulating Case Pattern replacement

As most regular users, I have developed utility functions complementing the Wolfram language for frequent tasks. In particular, I have variations on Cases (see ...
0
votes
0answers
37 views

Error in FullGraphics V10.1

Error in FullGraphics. FullGraphics[Plot[Sin[x], {x, 0, 2 Pi}]] Any idea why? Thanks
1
vote
1answer
89 views

Limit of a fractional integral

I am trying to find the limit for λ -> 0 of the integral listed below, but Mathematica give me only a ConditionalExpression ...
0
votes
0answers
23 views

NSolve running for ever

I have troubles running NSolve for my physics problem. I am new to Mathematica, which is why I might be missing some key solutions. I have the following function with the variables: ...
0
votes
0answers
4 views

how to find trigonometric angle of any value? [migrated]

how to find value for this- cot(1.3333) in degrees, without using a calculator? if it is possible please explain the process involved and how to find values of other similar questions.
0
votes
1answer
56 views

How to identify and remove errors in a list

After some searching, I did not find a solution to the following problem, which in my thinking should have some very easy/efficient solution. I'm looking at a list of images (faces), that I want to ...
3
votes
0answers
36 views

How to perform Bayesian optimization with Mathematica?

Does Mathematica have any Bayesian optimization methods for learning hyper-parameters? Practical Bayesian Optimization of Machine Learning Algorithms Jasper Snoek, Hugo Larochelle and Ryan P. ...
0
votes
1answer
82 views

naturalcolor stylesheet not working between linux and windows

I have encountered a weird problem with Mathematica 9. I have it installed on my laptop running Windows 7 and on my work computer now running Debian Wheezy. I am also using dropbox to access my work ...
0
votes
0answers
49 views

Solving Improper Integral [on hold]

I am facing the singularity problem while solving the integral. The integral is improper in the point x1 ...
0
votes
0answers
25 views

Manipulate function as a form of human input [on hold]

I need to streamline a program where one of the lines is essentially Manipulate[f[dataset[a]], {a, min, max}]. I need ...
15
votes
1answer
18k views

How to express trigonometric equation in terms of of given trigonometric function?

How can I express a trigonometric equation / identity in terms of a given trigonometric function? using following trigonometric identities ...
8
votes
3answers
496 views

Create sine function with random increase in phase

I am trying to simulate a signal that randomly increases its phase, so far I have tried two thing but neither worked. I usually use matlab but I want to learn some Mathematica so I thought I would try ...
0
votes
0answers
35 views

Solution Branch Switching of Quartic

Im using a closed form solution for quartic equation. In the quartic equation, there are parameters that are being varied and therefore the solution changes depending on these parameters. The ...
1
vote
1answer
36 views

plot filling using blend and y value

I want to plot say Sin(x) with colorfilling. but I want the colour to be a gradient between white and red. When Abs[sin(x)] is maximum I want white, when its minimum I want the filling to be red. In ...

15 30 50 per page