0
votes
0answers
50 views

ListPlot and ListLinePlot, show nothing, how can I plot correctly? [closed]

I'm trying to plot a graphic using a list of pairs, i.e., {{x1,y1},...,{xn,yn}} but nothing appears in mathematica notebook. I used the following commands and list: Does anyone can help me please, ...
2
votes
4answers
166 views

Output is Input for a Differential with Sign?

Here's the problem: For one of my classes, we're supposed to use Mathematica to solve the equation y''=y-b*y' for a variety of b values and specified boundary conditions and plot the outputs. There I ...
6
votes
3answers
143 views

Remove Successive Duplicate From A Large List (200k by 4 matrix)

I am interested in removing successive duplicate rows from a very large list (~200k rows by 4 columns) using Mathematica.The built-in 'DeleteDuplicates' seems to remove all duplicates, I am interested ...
0
votes
1answer
35 views

Series expanding an expression to an arbitrary power

How can I get Mathematica to directly produce the series expansion of an expression such as $(1+1/x)^n$, where $n$ is an arbitrary positive integer? Note that it's important in my expression to keep ...
1
vote
1answer
54 views

graphics grid legend

I'm working with mathematica 9.0 and I want to make a graphic grid containing 3 different plots. My problem is that when I use plotlegend to label the plots the legend does not show up or the left ...
7
votes
0answers
51 views

Tube and CapForm

I am using version 10 to draw tubes. With the CapForm set as Butt the first pipe is as expected but the bent pipe has one rounded end. Is this a bug? How can I fix this? Thanks ...
1
vote
0answers
42 views

FITS metadata problem

Looks to me that the FITS Export is borged. Here is the problem: When I export out images with accustom metadata into a FITS file, Mathematica truncates and overwrites it. Here is the metadata I ...
-1
votes
2answers
67 views

Why it is not filling to axis? [closed]

Here is the code, ...
1
vote
1answer
106 views

Help in Bifurcation Diagram

My dears, I need to plot a bifurcation diagram for the following non-linear systems represented by the next Mathematica code ...
3
votes
1answer
55 views

Evaluating arguments of module (inside compile)

Note: this is a clarification of 2 earlier unanswered questions, Compile issues, scoping and order of evaluation and Optimising a simple computation with vectors . The problem I have a list of ...
0
votes
0answers
91 views

Help optimizing some code [closed]

I have a code that numerically solves a series of equations, but the code is painfully slow. I was hoping someone could help me improve/optimize the code. When I run the code: ...
1
vote
1answer
70 views

Real time visualization of parametric plots

I wish to see the following curve develop in real time. f = {Cos[s/Sqrt[2]], -Sin[s/Sqrt[2]], s/Sqrt[2]} ParametricPlot3D[f,{s,-2Pi,2Pi}] I tried to get ...
1
vote
0answers
33 views

Finding related roots to a polynomial

I posted this in math.stackexchange, but this might be a better place. Assume that $f(X,Y,Z,V,W)\in \mathbb{Z}[X,Y,Z,V,W]$ is some polynomial and assume that $f(x,y,z,v,w)=0$. I would like to know if ...
2
votes
0answers
85 views

Weird glitch again!

I have been struggling with these glitches for two days... A related question I asked is here How to eliminate the white gaps in the graph Here is the code, ...
11
votes
5answers
304 views

Joining ordered set of points with splines in spiral

I have a collection of points ...
2
votes
1answer
79 views

Using Manipulate[ ] with physical units

I'm a new user, and am trying to build a simple Boyle's law system in Mathematica. I want to include the units of the values, as I may need to perform some conversions later. If my quantities are a ...
8
votes
2answers
288 views

How to add a vertical line to a matrix?

Today, I want to write a program to show the solving process of a the inverse of a matrix, and I use the Elementary transformation, so I need to add a vertical ...
2
votes
3answers
102 views

MapAt a function at specific positions

I'm trying to solve for $p3$ in 3p3-5 = p1 + p2 at positions where p1*p2 == 0: ...
6
votes
2answers
92 views

Modifying parameters: Set::setps in the part assignment is not a symbol [duplicate]

Ok, this will probably be a silly question, but I can't get my head around it. I'm making a simple module that, given a list and two integers, will swap the position of the elements in the ...
5
votes
3answers
129 views

Weird output of DistributionChart

I have a larger data set and want to display it using DistributionChart. ...
0
votes
0answers
54 views

How to find equations of motion and plots? [closed]

I'm doing a project where I need to map the motion of pendulum attached to a spring. I have successfully got the Euler-Lagrangian and both motion but I am having trouble solving the differential ...
5
votes
1answer
88 views

NDSolve and Piecewise functions

I want to clarify upfront, This is not a please help me get the answer to my homework question. I know what I need to do I just do not know how to get mathematica to do it. I am working on an ...
4
votes
1answer
97 views

Visualization/colorization of many outliers in a BoxWhiskerChart

Imagine a larger data set which I want to display using BoxWhiskerChart. ...
-2
votes
0answers
47 views

How to find intersections of intervals? [duplicate]

Let a finite set of closed intervals in the plane be given. How to find all the intersections of these, outputing the intersection points together with the intersecting intervals? This is a problem of ...
2
votes
1answer
83 views

How can I load << MathWorld`Curves`?

I'd like to recreate in Wolfram Programming Cloud the plot in http://mathworld.wolfram.com/notebooks/SpaceCurves/Slinky.nb How can I load ...
0
votes
0answers
65 views

Mathematically Eliminated in Baseball

Earlier today the Yankees were mathematically eliminated from the playoffs. Determining when this condition is satisfied for any given team is complicated but can be solved as a maximum flow problem, ...
1
vote
2answers
41 views

Indeterminate result from function, but not from equivalent expression [closed]

Can anyone explain this result? Why is one result Indeterminate and the other not? ...
0
votes
2answers
70 views

Plotting (Graphing) a Quadratic Function with Vertex and Roots

I'm new to Mathematica and I'm not really familiar to the Mathematica functions and the language. Could any of you help me plot a quadratic with the following characteristics: vertex at (1.5, 1.75) ...
1
vote
0answers
78 views

Derivatives of Convolutions with Integration by Parts and Delta Functions

I am not even certain how to approach this problem. f[x] is a pdf: positive definite, normalized, and approaching 0 at +/- Infinity p[x] is f[x] convolved to a normal dist of mean = 0, variance = v. ...
1
vote
0answers
24 views

Non-aggregated solution for NonlinearModelFit

I try to fit a rather simple functional form to data, lm = NonlinearModelFit[estdata, a + b*x^2, {a, b}, x] obtaining ...
0
votes
1answer
74 views

How to plot multiple orbits with more than two functions

Using a program given to me (which was designed to have a particle orbiting another of infinite mass), I tried to extend it to the motion of two particles orbiting a common centre of mass. I have a ...
3
votes
1answer
76 views

Formatting ticks of axes to scientific format and modifying the labels [duplicate]

I was trying to plot a function, but had a problem with the tick labels staying close to each other (top plot). DiscretePlot[RmvsB[b], {b, bmin, bmax, bstep}] ...
0
votes
0answers
44 views

How to open *.sif files with Mathematica

While I am processing my data collect from an Andor EM-CCD, I find it diffcult to import the file into mathematica. I think mathematica can open this kind of files since that Matlab can open it. So if ...
3
votes
1answer
114 views

Indeterminate expression 0^0 encountered

I'm new in Wolfram Mathematica so the the question may seem quite simple. I define the following function ...
3
votes
1answer
65 views

Why doesn't this invocation of Probability work? [closed]

I'm trying to invoke this Probability[x < 3, x ≈ DiscreteUniformDistribution[{1, 6}]] Why doesn't Mathematica execute this and give me an actual number?
2
votes
3answers
120 views

Given a system of inequalities, how to make Solve find out that two variables should be equal?

Given two boolean variables x1 and x2 (in the sense that they are in the range [0,1]), if I try to solve the following equation system with Solve: ...
9
votes
3answers
182 views

Improving selection of elements from large multidimensional array

Frequently in my profession I deal with large arrays of data. Typically these are mixed types including integers, strings, dates, and reals. To recreate a typical data array: ...
9
votes
4answers
301 views

How to eliminate the white gaps in the graph

Here is my code ...
4
votes
1answer
144 views

What's wrong in FunctionPeriod?

FunctionPeriod[Sin[16 Pi x/5 - Pi/8], x, Integers] 80 then I ListPlot the function: ...
1
vote
4answers
129 views

Plotting recursive from a for loop

our assignment is that we have make a plot for the possition of 1's From the recursive function if a[n-1] is even then ...
0
votes
0answers
54 views

Optimising a simple computation with vectors [closed]

I need to optimise the evaluation of expressions such as the following, ...
5
votes
1answer
101 views

Compile nested Sums

I want to compile an expressions that contains nested Sum-expressions. A simple example that gives me problems is: ...
1
vote
0answers
54 views

Show actual Interpolation function [duplicate]

Is there a command to show the actual function when using the Interpolation command? For example, f = Interpolation[{1, 2, 3, 5, 8, 5}] returns ...
3
votes
1answer
97 views

How to plot a 2-D function of points which is a function of points from the Unit Circle

Consider the set of points $(x,y)$ such that $x^2+y^2=1$. Consider the functions $f(x,y)$ and $g(x,y)$ and I want to plot the set of 2-D points whose co-ordinates are $\left(f(x,y),g(x,y)\right)$. An ...
10
votes
0answers
100 views

A documented syntax of FileNames doesn't work?

According to the documentation for FileNames: However when I attempt to use this syntax I get an error: ...
0
votes
0answers
29 views

Numerical Error with Matrix operations

A is a 3x3 matrix, b is a 3x1 vector. I try to convert [A|b], a 3x4 matrix, to [I|0]. So the formula is right multiple ...
-2
votes
0answers
44 views

Stop watch coding for PCs [closed]

I am Kullan. I need a code for Stop-watch which will run in Mac or windows. The input Timing should be given by the user and Watch should be control by Manual interface. Thanking you..
0
votes
0answers
33 views

Multiple regions on same plot [closed]

Let $x$ and $y$ to be two real variables. Consider the regions $$xy\leq -\frac{1}{2}$$ and $$x^2+y^2 \leq 1$$. I want to see this regions on the same plot with different shadings. How do I achieve ...
3
votes
1answer
120 views

How can I read compressed .Z file automatically by Mathematica?

When I read .Z file by something like jpldatstring = Import["ftp://cddis.gsfc.nasa.gov/products/jpl/2003/jplg0040.04i.Z"] Unfortunately, it turned out that ...
0
votes
0answers
41 views

Convergence Problem using FindFit

I have the following input where there is a convergence problem in the FindFit as shown in the attached figure.The figure shows 2 plots: one of the real data and the other of the fitted line. Any ...

15 30 50 per page