All Questions

87 views

“renormalising” a list

I am looking for the most effective way to solve the following problem: EDITED (for clarification): I have a large table MyTable, say $200$ columns and $10^5$ ...
191 views

How to implement Bresenham’s algorithm as a system of equations?

Bresenham's line drawing algorithm is usually implemented via loops. But in Mathematica we can take advantage of its ability to solve Diophantine equations. From educational viewpoint it is quite ...
27 views

How to find all possible paths with as many edges between two same vertices?

Suppose I have an undirected graph G = Graph[{1 <-> 2, 2 <-> 3, 2 <-> 3, 3 <-> 4}] I used ...
17 views

Ploting PDF Binomial distribution

I want to plot the histogram and pdf of 2X-100 with X a binomial distribution but having trouble with the last one, for the pdf i just get a line y=0. I tried ploting a simple Binomial distribution ...
85 views

Find a sequence given the sums of its terms

For a certain sequence of numbers, the sum of the first $n$ numbers in the sequence is given by $n^3+4n$ for all positive integers $n$. What is the fifteenth number in the sequence? How do you ...
35 views

Fail to call an executable [on hold]

The question is related to the question here. I do not know if it is better to open a new post as I did here or make an edit there and delete the current post. I have one executable file called ...
18 views

Why the difference come of 2D Fourier Transforms from two similar image?

Here is two similar images. I did 2D Fourier Transform for both of them. But for the first image, the result shows as a ring and for the second image the 2D FFT shows as a-two-ring. Examples R listed ...
311 views

How to generate a closed B-spline curve?

I wrote a function called deBoor by the Cox-De Boor algorithm to generate a B-spline curve. ...
161 views

40 views

Introducing dashing to distinguish curves in a multiple curve plot

To combine in 1 plot data with 2 scales, I use the following solution: ...
650 views

Only final result from NDSolve

Finally, I started to play with differential equations in Mathematica. And I have faced the problem, which seems to me so basic that I'm afraid this question is going to be closed soon. However, ...
49 views

How to determine the redundant equation in the set of DE?

my problem is messy, and I will use a simple problem to explain my problem. Suppose, we have a set of DE: ...
184 views

Problem with ListContourPlot feeding data format and WeatherData

With following code I am trying to show the mean wind speed patterns for a few geographic locations. ...
591 views

How can I generate a legend for a BubbleChart?

Is there a way to make a nice disk radius legend (with linear or log scale) for a BubbleChart[]? Something like the following example should be built in!
93 views

Partitioning Table

I have a long vector array in the following format: ...
938 views

plotting a {{Latitude,Longitude}} list on top of a GIS shapefile

I have a dataset composed of points specified in {Latitude,Longitude} format. Call it latlong for the purposes of this question. It displays properly with ...
455 views

Plotting piecewise functions

I have a list of N functions called functionList. N can be any number. Also, I have a list ...
214 views

Plot A Function Of A Stochastic Process

I am trying to do something very simple in Mathematica 9. I want to play around with option pricing and for that I thought it best to use the new stochastic process functionality. So, first of all I ...
2k views

Make legend same height as plot

One common style for density plots is to have a vertical legend that is the same height as the plot itself. Some example density plots from Google Image search: How can we make DensityPlots with ...
25 views

Shade where a function f lies below a function g [duplicate]

I have two functions: f[x_] = 2 Cos[x] g[x_] = -Sqrt[3] I find the points of intersection. ...
120 views

Cloud cover fraction

I need to make use of Mathematica's WeatherData functionality, the CloudCoverFraction property, specifically. However, it does ...
47 views

4D array not exporting to .mat file

I am using Mma 9.0 I am trying to export an array with Dimensions {5,100,160,160} to a .mat-file using the Export command, but ...
107 views

Evaluate notebook from other notebook

I have a notebook ("notebook 1") which in the beginning sets some parameters, does something depending on their value and saves the result to a file, say: ...
50 views

How to visualize multiple errorbars for one data set with ErrorListPlot?

I have a following problem: I am performing error analysis for my data set using multiple technics. Obviously, at the end of my analysis I want to compare the errorbars plotting them on the same ...
73 views

Mathematica 10.0: how to manipulate a plot where a line comes from a system of equations without an explicit solution? [on hold]

My goal: I am using Mathematica 10.0 to draw several graphs according to different values of a number of key parameters. The graph is made of two functions. Challenge: One of the functions is a ...
41 views

Prevent Plus from reordering terms by default? [duplicate]

Writing Plus[a,b]//FullForm gives back Plus[a,b], while Plus[b,a]//FullForm again returns ...
166 views

A list of alternating interval between its components

How can I create a list of the following numbers in a table automatically? list={3 π/10, 7 π/10, 13 π/10, 17 π/10, 23 π/10, 27 π/10, 33π/10, 37π/10,....} I ...