1
vote
0answers
35 views

Fitting Data when both Variables Have Uncertainties [duplicate]

Does there exist a method in Mathematica for fitting some function f(x; a, b)=y (with parameters a, b) to data of the form {x, y} when both x and y have different uncertainties? It seems like it would ...
-2
votes
1answer
61 views

Multiple Sets of Data

I would like to plot multiple sets of x and y data on the same plot with a legend. This is the code I am using right now: ...
12
votes
1answer
164 views

RegionNearest and neighborhoods

In this previous question we see that RegionNearest isn't quite as 'capable' as Nearest for some things. Similarly, I need to ...
2
votes
2answers
47 views

Output lists with new line for each record element [closed]

When Mathematica outputs nested lists, it just gloms one record right after the next record and it wraps around in the space available, for example: ...
3
votes
1answer
48 views

Context-aware Locator

I'm trying to use a Locator for some image processing tasks. Unfortunately, the images we're using have a high dynamic range of low-frequency black and white ...
1
vote
1answer
42 views

No function to enter value in a different base?

I notice that there is a syntax to enter a numeric literal in a different base, for example: In[8]:= 5^^1000000000000101 Out[8]= 30517578151 However, there does ...
3
votes
3answers
157 views

How to get the long logic expression with a terse method

I have a long logic expression (x==2||x==3||x==4)&&(y==2||y==3||y==4)&&(z==2||z==3||z==4)&&(m==2||m==3||m==4) How to get it by a terse ...
1
vote
0answers
58 views

How can one emulate the effect of CreateDialog for use in Free-CDF?

CreateDialog is one of the features that is not available to Free CDF users. Is it possible to create the behavior of the test code below in a way that can be ...
0
votes
0answers
54 views

How to export 3 plots in a row in eps extension? [duplicate]

I'm trying to save three plots with a legend at the end using the methodology described in another StackExchange post: How can I save both the plot and the legend together? I'm using Row[] to ...
1
vote
1answer
28 views

How can I get Snippet in TextSearchReport in V10.4

In the help page, there is a column named snippet which is very useful, but I cann't see it when I evaluate the Function TextSeachReport on V10.3 or V10.4
1
vote
1answer
43 views

How do I run DialogInput and SystemDialogInput by keyboard shortcut?

I have tried modifying KeyEventTranslations.tr with code: ...
0
votes
1answer
47 views

ContourPlot of an Implicit Function with a parameter

Is it possible to use ContourPlot for an implicit function when another parameter is changing. To be more precise, suppose we have a function of the form F[x,y,z]. Now for a fixed value of z=z1, we ...
0
votes
2answers
94 views

Need to find value of NDSolve at specific value in range

I am working with NDSolve to plot an ODE as a function of time. I need to find a way to figure out the exact value X of the solution for some specific time, say t*. Even better, a way to figure out ...
1
vote
1answer
44 views

How to use collect with arbitrary powers?

I want to use of collect for this code: ...
3
votes
1answer
61 views

How to set similar constraints on multiple variables in Solve

In this equation: var = {x, y, z, m}; Solve[x + 2y + z + m == 14 && And @@ Thread[2 <= var <= 3], var, Integers] {{x->2,y->3,z->3,m->3},{x->3,y->...
1
vote
0answers
26 views

What ordering function does Sort use to sort the open notebooks list?

After bustling about Sort @ Notebooks[] for a while, I have surmised that notebook are listed in decreasing order this way: ...
1
vote
1answer
32 views

Interpolate a data set for a defined time-step

I have a set of data which looks like: ...
1
vote
1answer
94 views

Plot a line passing through two given points in 3D space

How can I plot straight line passing through two given points in 3D coordinates? For example, given the points M1: (2, -2, 0) and M2: (1, -3, -5) ...
6
votes
1answer
131 views

Animate the line integral over a scalar field

There is a gif from Wikipedia, The line integral over a scalar field $f$. How to plot and animate this in Mathematica?
3
votes
0answers
96 views

Preventing the content of a CDF report from being overwritten when multiple reports are open at once

Our Mathematica application obtains a group of input files, analyzes them and generates a report in a form of CDF document. The report contains multiple dynamic/interactive graphs and tables. To save ...
1
vote
2answers
80 views

Finding roots of a function that includes Bessel functions [duplicate]

I'm fairly new to Mathematica so forgive any stupid mistakes. Here's my function: ...
17
votes
3answers
518 views

How to compute the boundary of a group of ellipse efficiently?

Update1 I discovered that the bountary of a series of ellipses consists of the following three parts Part (I): the first ellipse's effective black-segment; Part (II): the effective ...
1
vote
1answer
91 views

How to delete notebook files from the Wolfram Cloud

I have version "10.0 for Mac OS X x86 (64-bit) (September 10, 2014)" I have several notebooks stored in the Wolfram cloud, but don't see how I can delete certain ones I no longer need.
2
votes
1answer
61 views

Different fonts in the same Style in a Plot

I have a plot, not important what it is and I have a linelegend as below: ...
1
vote
0answers
33 views

How to define a variable describing several options? [duplicate]

Plot[y=x, {x, -1, 1}, PlotPoints -> 24, MaxRecursion -> 0, ColorFunctionScaling -> False, BoundaryStyle -> None, MaxRecursion -> 0] I will ...
1
vote
1answer
49 views

Select positive solution based on value of parameter

I want to select positive solutions to Solve[], but as the sign of the solutions depend on the value of some parameters/other variable, I am not sure how to do this?...
2
votes
1answer
61 views

How to validate an XML file against xsd in Wolfram language?

I am planning to write a package to read data which is saved in XML format that should follow some XML schema. As part of the reading I would like to do error checking, namely schema validation. So is ...
0
votes
1answer
47 views

Plot bivariate data with marginals using Graphics3D [duplicate]

I have some 2D data (a load of random walks) that I would like to show using a bivariate line plot with marginals attached (I would like the output to look similar to that in this question.) The ...
1
vote
1answer
69 views

Differential equation [closed]

How does one solve this differential equation? $$y' = \frac{x^3 + 2x^2 y - y^3}{x^3 + x^2 y}$$
2
votes
0answers
74 views

FourierCoefficient performance

I encountered weird performance issue while using FourierCoefficient[]. I narrowed it down to calculating $n$-th coefficient for $\cos(nx)$. ...
5
votes
3answers
135 views

How to partition a set with a condition on subsets?

I want to partition a set of $n$ elements into $k$ subsets with a condition For example: partitioning this set {1,...,5} into 3 subsets with this condition: if $|i-j|<d$ then $i$ can't be with $j$ ...
0
votes
2answers
122 views

A case of complicated fitting of multiple datasets

I've stumbled upon a difficulty while trying to do some fitting which may be called sorta complicated. I'll try to introduce my problem step by step. To begin with, I have a number of datasets ...
1
vote
2answers
106 views

Plotting amplitude spectra of modulated message signal

I'm trying to plot the amplitude spectrum of the modulated message signal, I have managed to plot it by working through the maths, expanding out each trig function, and then drawing onto a graph ...
0
votes
1answer
66 views

Append[] is not working for empty list [duplicate]

I am trying to create an empty list and add an element but the list is not being populated. My code ...
1
vote
1answer
63 views

How to assign options to a variable?

I want to redefine a function similar to Plot like this: ...
2
votes
0answers
59 views
2
votes
1answer
70 views

How to determine $n$ values of Abs[2^n - 51] is a prime number? [closed]

Suppose that it is required to find the values of $n$ such that Abs[2^n - 51] is a prime number. It is easy to determine that the first few values are $\{2,3,5,6,......
3
votes
1answer
60 views

Execute a function in parallel on different cores?

Suppose I have a function f which takes a list and does something with it: ...
0
votes
0answers
38 views

Syntax question for declaring variables [duplicate]

I have a very basic syntax question for declaring $X_{hb}$ a variable. f[Subscript[X, hb_]] := Subscript[X, hb] In mathematica instead of writing the ...
9
votes
0answers
109 views

Is this a bug in DiscretizeRegion in 10.4?

Bug introduced in 10.4 and persists through 10.4.1 Consider the following implicit region: ...
0
votes
1answer
49 views

Stopping variable from being updated by dynamic

I'm trying to write a script that will dynamically update, except for one variable, say y in a block Dynamic@F[x,y] So that ...
8
votes
0answers
82 views

Defining a MeshRegion from a list of points and Polygons with duplicate points does not work in 10.4

Bug introduced in 10.4 and persists through 10.4.1 This code produces a MeshRegion in versions 10.0 through 10.3.1, ...
1
vote
2answers
99 views

WSTP: Problems encountered while compiling using mcc

I am trying to follow this documentation: https://reference.wolfram.com/language/tutorial/SettingUpExternalFunctionsToBeCalledFromTheWolframLanguage.html When I ...
8
votes
2answers
142 views

How to apply GradientFilter locally to an image?

I have an MR image of a knee. I want to apply a gradient filter locally so that if I click on a pixel, for example, say on any part of the femur, I'll be able to choose a circular or rectangular ...
3
votes
1answer
92 views

Why is Cos[Abs[x]] Fourier transformed to 0 in mathematica?

I found that FourierTransform[Cos[Abs[x]], x, ξ, FourierParameters -> {1, -1}] gives 0, while ...
1
vote
1answer
55 views

Sorting the words of a phrase by defined variables/associations

Is it possible to change the word order of a phrase by creating a list of possible values/variables and using the Sort function? I want a specific word order always. $(a>b>c>d)$ But the ...
0
votes
1answer
63 views

Solve homogeneous system [closed]

Let x^2*y + x^2*z + x*y^2 + y^2*z + xz^2 + yz^2+ xyz =0 x^3-xyz + x^2*y-xyz + x^2*z-xyz + xy^2-xyz - xy*z+y^2*z - xyz+xz^2 - xyz+yz^2 =0 x^3+3*xyz+7*yz^2 + xy*z+y^3+9*y*z^2 + x^2*y+6*xyz+4*y*z^2 ...
0
votes
1answer
53 views

Error in partial derivative and replace?

After run my code, output is ...
5
votes
1answer
69 views

ElementData possible oxidation states

Is there any way to find out the possible oxidation states for a given element? Something like this: ElementData[1, "OxidationStates"] -> {-1, 1} Here is a ...
3
votes
1answer
57 views

Behavior of Remove inside a Package

I have a notebook containing (in a Code cell, Initialization Group) ...

15 30 50 per page