# All Questions

14 views

### NSolve returning an empty set

Dear Mathematica experts. I am a chemist looking to use Mathematica to solve a system of equilibrium equations. I have a system of 8 polynomial (I think) equations with 8 unknowns, yet when I use ...
9 views

### Transposing X and Y on a plot

This question has appeared in many forms online, but none directly apply to my problem. I have a quite complicated, albeit bijective function of the form ...
7 views

### How to swap tensor indices without permutation?

Say I have a tensor of rank R, How to swap $i^{th}$ and $j^{th}$ tensor index? I do not want to use TensorTranspose because it requires to write down the entire permutation, i.e. ...
6 views

### Alt+Gr issue with mathematica 7 on linux

I have the same issue as described in https://matteochinazzi.wordpress.com/2010/04/12/mathematica-alt-gr-issue-under-linux/ So basically whenever I use AltGr to write [ or ] in mathematica, it ...
7 views

### VertexDelete not working on graph with VertexWeight

Good afternoon, I have observed an "unexpected behaviour" with VertexDelete and a graph with vertex weights. This is a minimal working example: OK ...
13 views

### Naming conflicts with Dummy variables in several packages conflicts

I'm using several packages in a notebook. In each packages there is functions defined with dummy variables. When I load the several packages in my session, i've got a warning message: ...
14 views

### Defining QM Bra and Ket operations

I have the following ket in the Fock basis: $\vert3, 0 ,1\rangle$, where each entry defines the number of photons in a particular mode and can take any one of the following numbers: 0, 1, 2, 3. As a ...
6 views

### Minimizing using indices, error: Part::pkspec1: The expression cannot be used as a part specification

I want to use Minimize where the variables to minimize are indices pointing into an array. Here a MWE that hopefully shows what my problem is. ...
18 views

### same code different results on different computers

This very simple code: ...
17 views

### solving an inequality

I guess this is rather trivial. I want to solve the following inequality 1/(2 n + 2)! < 10^(-6) What I did is ...
34 views

57 views

### Need help on the proper use of a 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 ...
30 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: ...
65 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) ...
32 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. ...
69 views

### Shocks in a dynamic continuous time system

I have the following continuous time system ...
39 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 ...
32 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 ...
18 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 ...
36 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 ...
21 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 ...
40 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 ...
37 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, ...
27 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 ...
38 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 ...
202 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 ...
57 views

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 ...
34 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 ...
69 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 ...
39 views

### Error in FullGraphics V10.1 [duplicate]

Error in FullGraphics. FullGraphics[Plot[Sin[x], {x, 0, 2 Pi}]] Any idea why? Thanks
25 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: ...
5 views

### how to find trigonometric angle of any value? [on hold]

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.
52 views

### How to export a Mathematica notebook into Markdown?

Is there a way to do this other than html + pandoc?
46 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. ...
59 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 ...
27 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 ...
48 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 ...
58 views

### Apply NonlinearModelFit to an image

I have several images (in FITS format), which I want to fit with a 2D-Gaussian distribution. The problem is that NonlinearModelFit expects data in the form of a ...
39 views

### Update/refresh notebook variable color on clear

By default, Mathematica displays variable names already assigned as black while new variables are displayed in blue. When executing Clear["Global*"], variables ...
35 views

...
37 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 ...