2
votes
2answers
39 views

Headings, subheadings, text cells etc and Alt+n

This is a minor point but annoying. I have just upgraded to version 10.0.2.0 and discovered that you must select a bracket before doing Alt+1, or Alt +7 to make a cell a heading or text cell. This was ...
0
votes
1answer
25 views

How can I improve ContourPlot to get smooth curve?

I am working on the ContourPlot to creat contour line of a InterpolatingFunction recently. This is my data. This is my simple ...
0
votes
1answer
16 views

Normalize centrality measures

How I can normalise centrality measures? Can I use Normalize function? I give example of unnormalized measures ...
4
votes
1answer
40 views

Fitting higher order ARIMA models hangs, never completes

I'm working with some data that is 12 month seasonal. However, when I try to fit it to an ARIMA(12,1,3) for instance, my PC's CPU cranks up to 100% and the job never finishes. Here's some sample code. ...
3
votes
2answers
113 views

How can I use ContourPlot to creat streamline for a free surface domian: proper arrow orientation and correct domain?

I get into trouble when I use ContourPlot to draw streamlines in a free surface flow domain. This is my data.The data are a little bit big, please be patient. ...
3
votes
1answer
48 views

How to set the width of grid elements in pixels?

That is all: How can I set the width of columns in a Grid in terms of pixels instead of 'ems'? To be more precisely, I want to create a grid that is 330 pixels ...
0
votes
0answers
33 views

How to export a matrix (Mathematica 8)? [on hold]

I would like to export the object type: { {{"a", "n", "y"}, {"a", "s", "k"}}, {{"b", "y"}}, {{"d", "a", "t", "e"}, {"d", "a", "y"}, {"d", "r", "y"}} } and then ...
4
votes
2answers
101 views

Plot of Implicit Equations

I've read Cool Graphs of Implicit Equations recently. In the article, it mentioned a software GrafEq which can draw graphs of arbitrary implicit equations. For example, And I've tried several ...
1
vote
0answers
43 views

Can I define an axiomatic (Boolean algebra) system and prove theorems using Mathematica?

The general question is Can I define an axiomatic system and prove theorems using Mathematica? The more concrete one is about Boolean algebra. I consider this axiomatic Boolean algebra system ...
0
votes
0answers
32 views

MinorPlanetData position

In versions prior to 10, I can get the heliocentric position of an asteroid with AstronomicalData["Ceres","Position"] and get a simple array of the three ...
0
votes
0answers
25 views

How can I define a metric in xAct?

I'm using "xAct" package and I want to define a my metric, that is a non standard metric. For example, my metric is diagonal ...
5
votes
3answers
442 views

Buying a new computer (specifically for Mathematica)

My current computer is a MacBook Air, the mid-2011 version: 4 GB RAM, 1.7 GHz Intel dual core. It runs Mathematica 9 smoothly, but a bit too slowly for my taste. I use Mathematica almost exclusively ...
3
votes
2answers
57 views
2
votes
1answer
63 views

Design matrix rank does not match

I'm attempting to fit a linear model and Mathematica returns the error message: "The rank of the design matrix 9 is less than the number of terms 10 in the model. The model and results based upon it ...
2
votes
1answer
63 views

How to check if Integrate solved the integral?

This seems something that must have been asked before, but I am not able to find something. Integrate does not return status nor throw error when it can't find antiderivative. It just returns the ...
3
votes
2answers
92 views

Specifying and solving a PDE on an L-shaped domain

I wish to solve Laplace's equation with Dirchlet boundary conditions on an L-shaped domain as described here http://www.inf.ethz.ch/personal/tulink/FEM14/Ch1_ElmanSyvesterWathen_Ox05.pdf I know how ...
1
vote
1answer
43 views

Shifting Columns in an Array Efficiently

I am trying to find a more efficient way to shift the columns of the partitions of an array according to a defined slope and fill in the shifted regions with zeros I have done it below but, I know it ...
0
votes
0answers
12 views

Remote Kernel configuration works in v9 but not in v10

I have both v9 and v10 currently installed on my computer (Windows 7). For reasons that are not entirely clear, if I create a new remote kernel in one version, it is accessible to the other; however, ...
2
votes
1answer
32 views

Ordinary Least Squares (OLS) with RLink

I need to calculate the parameters b0, b1 and b2 in: ...
0
votes
1answer
108 views

Define a Recurrence Table involving other tables

I'm relatively new to using Mathematica. Previously I used Matlab, but lately I noticed that the numbers i got in both of them do not match (mostly it seems that Matlab lacks precision...). The ...
-1
votes
2answers
31 views

Inverse of function including hyperbolic cotangent

How can I create a numeric function for the inverse of $y(z) =\coth{z}-\frac{1}{z}$, over the range of $y\in [0, 1]$ and $z\in [0, \infty]$?
1
vote
0answers
34 views
0
votes
1answer
35 views

Unit conversion is not simplifying units

I'm running into what looks like an error. ...
2
votes
1answer
31 views

Multicolumn sorting with ordering functions and precedence

I am aware that the question of "how do I sort on a column" has been asked in various forms, most notably this one. While some powerful solutions have been presented, as far as I can find no one ...
0
votes
1answer
64 views
16
votes
2answers
1k views

Sorting a list with secondary criterion

Is there an easy way to sort a list on multiple levels of criteria? By this I mean, first the list should be sorted according by criteria A (the same as using the usual sort function, ...
14
votes
1answer
364 views

What is the real default CellEvaluationFunction?

The default CellEvaluationFunction is Identity but one can quickly see that this is handled specially as an equivalent function, ...
7
votes
2answers
167 views

Understand MeshFunctions with Intercepts

Bug introduced in 7.0.1 or earlier and persisting through 10.0.2 or later While I've been thinking about this question, I tried to visualize the Intercepts. I use three snippets, actually snippet ...
0
votes
0answers
50 views

How to define a two-variable sequence?

I would like to define the following function but I am having a problem. I would like Mathematica to "understand" what I mean by writing "+...+". For example, for large values for $n$ and $m$ it takes ...
8
votes
2answers
393 views

Computing Many Slow I/O Operations

In working on a custom stock screener, I often need to run mathematica code like this: ...
3
votes
1answer
97 views

How to execute a notebook in background

I am developing an algorithm that take time to return results. I thought if I could run this notebook in background and continue to develop the rest of my work. It is possible to do that?
0
votes
0answers
29 views

Align axes in GraphicsGrid - with one rotated figure

I would like to align the axes of the three plots: g3, gPosteriorMarginalMu and gPosteriorMarginalSigma: ...
4
votes
0answers
41 views

How to execute code on FrontEnd quit?

I would like to execute a block of code whenever the FrontEnd quits. I know about $Epilog, but it seems that this would execute every time the kernel quits, which is not what I want. Does anyone know ...
0
votes
1answer
61 views

How to speed up execution of this function?

How can I speed up the execution of following function, specifically for larger values of n? ...
1
vote
1answer
75 views

Control which frontend session/kernel the Workbench gets attached to

(I am new to Workbench) I have 2 or 3 Mathematica frontend sessions open with a few of them running some long-running codes. When I try to open/edit a code in Workbench, I see that it sometimes it ...
0
votes
1answer
28 views

Add a legend to a DiscretePlot - Version 8 [duplicate]

I have found several topics with legend issues but no answer to my problem. I have a function and I need to plot it for integers only (hence discrete plot) and then add a legend too. But ...
1
vote
1answer
24 views

Package function not evaluating

I have a short package like this: ...
0
votes
2answers
51 views

Compile a Module wich has a loop with undetermined bound

Suppose I have such a module as below: test[int_] := Module[{m}, m = Table[i, {i, 1, 10}]; Do[m[[i]] = i*i, {i, 1, int}]; Return[m] ] The bound for ...
0
votes
1answer
77 views

My matematica notebook dosen't work,its bring syntax error ,why?

i have many matematica notebooks and all of them are working clearly besides one which is the most important for me.There is my whole project.Please someone help me.What should i do???
3
votes
1answer
163 views

Working with abstract vectors

I often need to compute derivatives or integrals involving N-dimensional vectors (where the dimension could be equal to 2 or 3 but is not particularly relevant for the sake of the derivation). The ...
1
vote
1answer
77 views

Derivative of a plot [on hold]

I plotted a graph numerically, so I don't have a definition of the plotted function. Now I want to plot the derivative of this graph. Is there any way to do it in Mathematica? I have the following ...
1
vote
1answer
58 views

Astronomy: Transform coordinates from horizon to equatorial

I'm using Mathematica 10. Giving a longitude & latitude on Earth, giving a local time, how can I transform Horizon Coordinte (az , alt) to Equatorial Coordinate (RA , DEC). Use function so I can ...
17
votes
1answer
178 views

How to format usage messages such that function templates are parsed correctly?

Is it possible to format usage messages (with italic arguments etc) such that Mathematica 9 still parses function templates correctly? For example, plain usage messages work when pressing ...
3
votes
1answer
52 views

ParametricPlot3D: The Mesh shows some unexpected wires to the origin. How to remove them?

In the code below a hexagonal shape is defined and plotted. The ParametricPlot3D shows the hexagonal design almost as intended. However, the mesh makes some strange "wires" to x=y=0. This is ...
-3
votes
2answers
67 views

Module function corrupts string? [on hold]

I have the module who should replace some elements of a matrix with checkboxes ...
0
votes
2answers
59 views

Replace variables and redefine a function

I would like to redefine a function f(x)=1+2x^2 to a new function g(y)=1+2y by using the replacement ...
6
votes
4answers
102 views

Minimizing a function with a constant $l > 0$

I'm VERY new to Mathematica and would like some help with minimizing a function. $$f(x) = \frac{1}{2} \sqrt{\frac{\left(l^4+x^4\right)^2}{l^4 x^2}}$$ I want to find which $x-value$ (probably ...
1
vote
3answers
52 views

Import Data using selection criteria

I imported a file (text and numbers) and made constructed this. e[[1,All,{1,2,3,4,6}]] Column 1 is the name of the state. How can I get a subset of this where, say Column 1 is not equal to "New ...

15 30 50 per page