0
votes
0answers
189 views

Mathematica 9's NDSolve treats sum as an integral [closed]

Sum and integral are threated the same by NDSolve in Mathematica 9: The problem was also in Mathematica 7. I submitted a bugreport to the technical support, they admitted this is a bug, fixed it in ...
24
votes
2answers
408 views

Special Mathematica Cell to work with R code

I have enjoyed working with R inside Mathematica. But it would be nice If I could have a special R cell. For example, instead of typing ...
7
votes
1answer
193 views

TemporalData frequency option as in R

I'm studying R, and am very impressed by the simplicity of some commands and in the way R handles temporal data. For example, in R, if you have some one-dimensional temporal data, you can easily ...
0
votes
0answers
105 views

Optimization problem—constraints not valid? [closed]

I have a model optimization problem: maximize rent, ri, through signals, si and sj, given ...
5
votes
3answers
161 views

How to rename a built-in function?

I want a built-in function renamed without loss of any properties, I want the shorter name to appear in all results and to be recognized as input. Is it possible?
0
votes
1answer
122 views

Solving a simple BVP

I'm new to mathematica and am interested in solving the following BVP: $\epsilon \,y'' + 2 y' + y^3 = 0$, for $0 < x < 1$ and $y(0) = 0, y(1) = 1/2$. I have no experience with coding, so ...
0
votes
0answers
102 views

Graphic Layers, Splitting Regions, Symmetry Operations to Font Characters

As Stephen Wolfram wrote in his lates blog post: A basic interactive system for generating logos is a tiny amount of Mathematica code. But getting everything exactly right turns out to be quite ...
5
votes
1answer
250 views

Drawing a torus not bounding a solid torus

I am trying to make a "pretty" picture of a torus in $\mathbb{R}^3$ which does not bound a solid torus. The standard way of constructing such a thing is to first take a non-trivial torus knot: ...
-1
votes
1answer
177 views

How to efficiently fill in matrix values?

I would like to efficiently fill in or assign values to matrix m: m={ {a[1,1],a[1,2],a[1,3],a[1,4]}, {a[2,1],a[2,2],a[2,3],a[2,4]}, {a[3,1],a[3,2],a[3,3],a[3,4]}, ...
9
votes
3answers
328 views

Do you know of any web-based university course that is entirely Mathematica based?

Does anybody known of a web-based university course entirely built with Mathematica? I mean one where the whole course (lectures/labs/exams) is presented in Mathematica FrontEnd form. My point is ...
0
votes
2answers
188 views

Simple 3D graphic

How can I make a simple 3D graphic as in the following image? I know it is simply a sphere and a circle with several joining lines but I dont know how to make such simple one. I can use ...
1
vote
1answer
61 views

Obtaining Size Of Graphical Objects

I have created a panel, say Panel[""]. I want to know its size/dimensions. Is there any built-in function for doing that?
1
vote
1answer
260 views

PlotLegends doesn't work on Plot3D-V8.0.0

I am trying to plot in 3D and I need to use PlotLegend. My code is ...
2
votes
3answers
145 views

MatrixForm explanation as why row extract is displayed as a column?

I have a 5 x 5 matrix: cdsSpread5yrs = But after doing a row extract, why is it displaying as a column? ...
4
votes
3answers
126 views

How to add images where each represents a different color channel?

So I have three matrices that represent say the R, G, and B channels of an image: ...
1
vote
0answers
128 views

How to find the minimum of a function that is a sum of an analytical function and a series expansion?

I need to get a minimum of function F[ang] which is defined as a function of angle: ...
-2
votes
1answer
164 views

How to pass arguments between functions

I have two Functions, f[] and g[]. f is passed some values ,say ...
6
votes
2answers
156 views

How to efficiently get the value from form UI built with dynamic InputField

Here is the code that I used to make a tabular UI. ...
-2
votes
1answer
130 views

Mathematica returns fuzzy plot [closed]

I have a function that looks like this: likelihood[x_] = -Log[1/24*E^(-8*x)*x^11] However, when plotting this using ...
1
vote
2answers
128 views

Function with different set of arguments [duplicate]

Possible Duplicate: How to create functions of arbitrary number of variables? i want to use a Function f[] with different set of arguments. example: ...
2
votes
1answer
265 views

Mathematica 9 behavior with derivative of a sum

In: D[Sum[Sin[x],x],x] D[Sum[f[x],x],x] Out: 1/2 Cos[1/2 (-1 - Pi + 2 x)] Csc[1/2] 0 Function f is undefined, but Mathematica 9 counts it as constant? ...
40
votes
2answers
778 views

Is it possible to improve Mathematica's auto-completion feature?

In this answer Brett Champion describes how one can intercept and modify the suggestions used for auto-completion. Question: Is it possible to modify the suggestion for the automatic auto-completion ...
0
votes
1answer
113 views

Providing options to function [duplicate]

Possible Duplicate: Functions with Options I'm trying to write a Function With an option "Panel" which takes True or False as arguments. Based on Panel Value (True/False), different ...
2
votes
1answer
133 views

How can I remove unnecessary warning messages?

I updated Mathematica,CdfPlayer to new Version (9). I made a simple Application in Mathematica 9 and deployed into ...
9
votes
1answer
150 views

Unexpected result from Flatten

Consider the following three evaluations involving Flatten: Flatten[f[f[f[x, y], 1, 2], f[x, y]], Infinity, f] f[x, y, 1, ...
3
votes
2answers
274 views

Plotting a curve from the intersection points of a family of two curves

I have two state equations. f1 = 1000. (12 - (1 - u) x2); f2 = 1000. ((1 - u) x1 - 8/100 x2 ); I did two different stream plots for state-variables ...
2
votes
2answers
195 views

Problem with setting working precision in NIntegrate

I want to obtain a good numerical approximation (up to 10 decimal place would be ok for me) to an integral: $$ \int^{\infty}_{0} f(r)r^2dr $$ I am using the function $f(r)$, which is related to the ...
1
vote
1answer
89 views

Finding integer partitions one at a time

I am writing a small program and I need to calculate integer partitions of a handful of numbers. In my code I just run IntegerPartitions[k,{n}] and then iterate through the results. Since I only use ...
4
votes
2answers
132 views

Evaluating a Recursive Expression

Why does this raise an error ...
0
votes
0answers
37 views

3D spectrogram plots [duplicate]

Possible Duplicate: Computing and plotting a spectrogram in Mathematica I have a notebook that reads in some time-series data and calculates a spectrogram of it using Mathematica 9.0's ...
7
votes
0answers
106 views

How can we extend the predictive interface so it can suggest new operations?

Introduction Mathematica 9 has introduced a new predictive interface. For each output, it suggest possible actions the user might want to take. How can this interface be extended so that it will ...
4
votes
3answers
388 views

First positive root

Simple question but problem with NSolve. I need help how to extract first positive root? For example eq=-70.5 + 450.33 x^2 - 25 x^4; NSolve[eq== 0, x] If I ...
3
votes
1answer
279 views

Unit issues in Mathematica 9

I posted the following on the Google+ group comp.soft-sys.math.mathematica and had no luck with responses. I've done a Google search and, to the best of my ability, ...
0
votes
0answers
97 views

How to plot the sequence (n / (n-1)), 1<=n<=20 using ListPlot? [closed]

My last try was ListPlot[{n/(1 + n)}, {1, 20}]
24
votes
0answers
390 views

Is it possible to customize the Suggestions Bar?

I'd like to be able to customize the Suggestions Bar in v9.0 to provide recommendations of my own. Possible example: when doing unit calculations, I'd like it to suggest converting the answer to ...
8
votes
0answers
114 views

HorizontalGauge causes problem with ScalingFunctions -> “Log”

I am trying to use HorizontalGauge[Dynamic[expt], {0.1, 100}, ScalingFunctions -> "Log"], i.e. a gauge with a logarithmic scale. This creates an error, a graph ...
11
votes
8answers
379 views

Any built-in function to generate successive sublists from a list?

Given lst = {a, b, c, d} I'd like to generate {{a}, {a, b}, {a, b, c}, {a, b, c, d}} but using built-in functions only, ...
1
vote
2answers
282 views

Problem with boundary values for a partial differential equation

I have a PDE problem that I can't solve. and I wonder if you could help me with it. I have a Terzaghi Consolidation equation (similar to the heat equation) that is written as follows: ...
1
vote
2answers
73 views

ControlsRendering and operating systems

Controls, such as those appearing in Manipulate constructs, are by default rendered depending on the operating system. Wrapping everything in ...
0
votes
1answer
72 views

Why does “Pattern(1,0)[w,_]” show up in the resulting expression of a differentiation? [closed]

I would like to differentiate the function s, and be able to evaluate it for different w afterwards. I tried the following: ...
7
votes
2answers
138 views

Save notebook without including Front End version information

How can a notebook be saved without including the front end version? If you open a .nb file, you'll see something like ...
0
votes
2answers
92 views

Changing order of TeXForm output

I am creating Taylor polynomials and exporting them using TeXForm. When a polynomial p[x] is displayed in Mathematica, it shows, ...
17
votes
3answers
455 views

Does Mathematica have a built-in date picker?

Does Mathematica have an interactive date input control that lets the user choose a date by browsing to a calendar view and returning the selected date as a date list? For example, something like the ...
1
vote
0answers
176 views

Mathematica 9 fails to export graphics by right-click when notebook magnification is changed [closed]

When I try to export graphics as PNG, JPG and other rasterized formats using the right-click and choosing Save Graphic As..., if the notebook magnification is ...
7
votes
2answers
524 views

problem with coloring spherical harmonics

I want to color a spherical harmonics. So I write as follows. ...
3
votes
2answers
394 views

Deformed style when exporting eps files

I want to export a plot into an eps file. Below I present a sample plot code in order to demonstrate the two issues that appear. (1). LabelStyle: When I use ...
0
votes
4answers
111 views

Combining two lists [duplicate]

Possible Duplicate: How do I obtain an intersection of two or more list of lists conditioned on the first element of each sub-list? I would like to combine two lists. ...
6
votes
2answers
151 views

Catching only the first event in NDSolve EventLocator

I have a system of ODEs that I solve. During the integration process, there's an event that I want to catch, but I want to (a) continue the integration after the event and (b) catch only the first ...
2
votes
2answers
334 views

Edges and crossing

I want to make a program where I have a collection of labeled vertices and edges between the vertices such that they join up with edges $a_{1} a_{2}, \; a_{2} a_{3}, \ldots ,\; a_{n} a_{1}$, so the ...
4
votes
2answers
158 views

How to prevent the loss of Tooltip when using ListLinePlot?

Version 9, windows 7: When I use ListLinePlot Tooltip does not work any more. It seems to have been lost somewhere. With same data, Tooltip works ok using ...

15 30 50 per page
1 64 65 66 67 68 158