0
votes
0answers
5 views

How do I use scale in a Manipulate comparing data points to a function?

Ladies and Gentlemen! I am wanting to use scale in the same way as applied by Mister Trevor Cole in this most excellent manipulate at the Wolfram Demonstrations site: ...
0
votes
1answer
13 views

Finding subset of integer range with smallest LCM

Suppose you have a list of consecutive positive integers S = {N, N+1, …, N+M}. Given an integer 0
2
votes
1answer
30 views
2
votes
0answers
20 views

Is there a way to use video codecs for avi files in Mathematica?

I would like to use Mathematica to create compressed .avi video files from image sequences. I read the documentation on .avi but couldn't find a solution. In the documentation it says: ...
0
votes
0answers
12 views

Replace parameter of NDSolve by a Function

I dont know how to replace the paremeter inside of an interpolation function result from NDSolve by a function of another parameter. This is it: I have a ...
2
votes
2answers
32 views

Why isn't Refresh working as expected?

This seems to me to be a very easy question, but I can't seem to figure it out. Instead of updating every 1 second, it auto-updates as quickly as possible. ...
4
votes
1answer
32 views

How to create a CDF “on the fly”?

I don't know if I have asked the question the right way: As CDF is essentially a simple text file, I would like to create it "on the fly" without saving it to the hard drive. I would like to give a ...
0
votes
0answers
25 views

Import file using UNC

I'm trying to import a file from a server that I do not have mapped. ...
1
vote
1answer
32 views

A code deal with Lists operation ---Needs optimizion

I have written some code to deal with lists, But the speed of the code is slow, Could Someone help me to speed up it? Probably could rewrite it with Functional Programming! Give me some ideas! The ...
2
votes
0answers
17 views

Custom WindowToolbar for my stylesheet

So I've noticed that some stylesheets (for instance Slideshow stylesheets) load a toolbar using the assignment WindowToolbars -> {"ToolbarName"} and I've been ...
5
votes
1answer
90 views

Is there a list of Octave functions mapped to the related Mathematica one?

I am just wondering if there is a list of the related Mathematica functions that correspond to Octave functions. For example. ones(n) maps to ...
1
vote
0answers
36 views

Numerically solving a 2D oscillating integral

I'm having trouble solving this integral numerically: ...
3
votes
1answer
32 views

how to create Dataset after importing txt file

I would like to translate a imported txt file to Dataset. ...
1
vote
1answer
66 views

Is there a hotkey for the drop down selection/information?

I am more used to typing then using the mouse. I was wondering if there were hotkeys for the drop down list and the info button? What I mean is what I have marked in the picture below. When I ...
1
vote
0answers
43 views

Setting a Row from a Matrix as Variable

I'm not advanced in Mathematica but I'm trying to get better. I have a big set of Data and I want to Plot the first row against ...
7
votes
1answer
67 views

How to convert \[Formal…] symbols to standard ones in an expression?

Mathematica generates an expression sometimes using \[Formal] symbols. This is causing a problem with the TeXForm code generated ...
12
votes
1answer
153 views

Why does WRI not provide symbolic solution(s) to Heat equation?

Why does WRI not provide symbolic solution(s) to Heat equation? or more generally, Green functions to known PDEs I am interested in variations of the heat equation: I understand that Mathematica ...
2
votes
0answers
33 views

DSolve breaks when the ordering of independent variables aren't proper?

I encountered this when trying to solve this problem with DSolve: ...
2
votes
1answer
44 views

Get the last line from from each of a large number of files, transform them, and write all results to a single new file

I have several hundreds of .csv files that are not logically named (contains numbers, characters, and special characters), all stored in a directory. Each file has large but unequal number of rows and ...
3
votes
2answers
158 views

Where can I get detailed information on how the Plot command works?

The command Plot[x^2, {x, -3, 3}, PlotStyle -> Arrowheads[{-.025, .025}]] /.Line -> Arrow produces this output. What I don't understand is what ...
1
vote
1answer
68 views
2
votes
2answers
34 views

Order of Evaluate for Map

I would like to get a list of variable names as strings. For example, x = 1; y = 2; Map[SymbolName, Unevaluated /@ Unevaluated@{x, y}] {"x", "y"} This works ...
1
vote
1answer
57 views

Use NDSolve to solve a PDE

I have the following PDE (a master equation, and $P$ is probability density, $0\le x\le1$ and $0\le y\le1$): $$ \partial_t P(x,y,t)=x\partial_xP(x,y,t)+(1-y)\partial_yP(x,y,t)+2P(x,y,t) $$ The ...
1
vote
1answer
38 views

What is the correct way to plot a dynamically generated list of functions?

For example, I want to generate a list of random waves and plot them. Then I wrote f:=Random[Real] h:=Floor[f*20] And then ...
9
votes
1answer
93 views

MatchQ-ing Associations (MMA 10)

Consider {x->1} which has FullForm List[Rule[x, 1]] and, therefore, ...
1
vote
3answers
36 views

Collect the lists

I have a list of lists from which I pick out the positions of the number 1 and then print out these positions for each list. I am having some trouble collecting what I am printing into a list / matrix ...
0
votes
0answers
28 views

Generating a Table with a certian Density [duplicate]

How do I create a random table of 0's and 1's with a certain density instead of a probability? For Example: Manipulate[ Table[RandomChoice[{1 - density, density} -> {0, 1}, {10}]], ...
-1
votes
1answer
23 views

A problem of conversion in Number system? [on hold]

So basically my question might sound odd ? I have provided the image below. My question is which of the conversion is correct or am i making any mistake.Why there are 2 different results of the ...
6
votes
3answers
119 views

Converting datasets to nested lists

Imagine the Shipments relation: ...
12
votes
4answers
262 views

HoldForm doesn't hold form

In Mathematica version 10, HoldForm no longer produces the same results as in version 8 (edit: I only have versions 10 and 8 installed, so can't compare to version ...
2
votes
1answer
72 views

Mathematica unable to solve equation numerically while Wolfram|Alpha can

I want to solve the following equation 2 x == Sinh[x] Mathematica is unable to do so ...
0
votes
0answers
57 views

Stochastic Simulation using the Gillespie algorithm

I'm trying to reproduce the simulation with demographic stochasticity in Figure 1 from the paper entitled "Dynamical Resonance Can Account For Seasonality of Influenza Epidemics" ...
0
votes
2answers
32 views

Taking inverse powers of an expression to that power [on hold]

I'm finding a curious behavior for Mathematica 8. The code (x^3)^(1/3) does not want to Simplify or FullSimplify. I'd prefer not to make a rule for this, because ...
3
votes
0answers
41 views

How to measure cross sectional area of tube

Actually, all I want to do is measure cross-sectional area, major & minor axis length as move along the center line. is it possible to intersect tube using a plane and calculate cross-sectional ...
5
votes
1answer
80 views

Changing Values in an Association using Map

I am trying to change the value of one key in an association based on the value of another key in that association. So if my association starts as: ...
0
votes
0answers
41 views

Is it possible to close Windows Explorer from within Mathematica

I constantly find myself with multiple Windows Explorer windows open and it would be wonderful to be able to close them all at once using a Mathematica command. Is it possible to close Windows ...
0
votes
0answers
46 views

Trouble outputting Plot

I am trying to solve a system of ODEs and plot them with Manipulate but I keep getting blank outputs. Below is my code: ...
3
votes
0answers
42 views

Layers of Locators of Different Colors?

I am a Mathematica novice trying to do some interactive segmentation of microscopy images. I've been trying to understand and build upon some code from a previous StackExchange discussion (Can ...
2
votes
2answers
54 views

Progress Indicator & sums

Having looked here, what should I do differently to get the progress indicator working properly? ...
3
votes
2answers
113 views

How can I prevent a compiled function from using uncompiled evaluation?

I write a code that creates a compiled function, and then call that function over and over to generate a list. I run this code on a remote server via a batch job, and will run several instances of ...
1
vote
0answers
43 views

Circumnavigate a curve (part 2)

I got help from Kuba on a previous post regarding this issue I'm having but after integrating that solution into my code, the problem changed and I am left with something I don't know much about (even ...
3
votes
0answers
44 views

Make Mathematica show function template's arguments in different lines (i.e. in column) by default?

I feel a bit uncomfortable with Mathematica 10's layout. I mean, I'm impressed how powerful functional programming can be and so on, but it's me or those programs are often just a bunch of nested ...
1
vote
1answer
46 views

Convolving data set with gaussian profile

I have a spectrum looking like List, and I want to convole it with a gaussian of the form PDF[NormalDistribution[μ, σ], x] (where σ also depends on x). The raw ...
2
votes
1answer
65 views

Why won't Mathematica obtain eigenvectors for this symmetric matrix?

The matrix is a real symmetric 4x4: ...
1
vote
2answers
66 views

Solve gives a solution which is contradicted by an example

I have the problem as described in the title. Here is the code: ...
1
vote
1answer
144 views

Mathematica policy for correctness of results [on hold]

Does Mathematica provide any kind of warranty that their calculations are correct? Say I'm running a billion dollar company, and I relied on Mathematica to do calculations, like aerodynamics or car ...
1
vote
0answers
61 views

How to stack matrices: one on top of another? [on hold]

I have over 10 thousands matrices each with n by 3 size. For example, M[1]={{1,2,3},{4,5,6},{7,8,9}}, M[5]={{10,11,12},{13,14,15}} and M[20]={{16,17,18},{19,20,21},{22,23,24},{25,26,27}}. I want to ...
1
vote
0answers
18 views

Operating one dialog from inside another

Nested Dialogs Experiment The InsideDialog works as expected when invoked from the command line. When started as a button action inside OuterDialog, it takes a very long time to start up (many ...
1
vote
0answers
44 views

Strange message appearing when using Wolfram Alpha in Mathematica

I have Mathematica 9.0.1.0 and I've recently noticed that whenever I press the equals sign and type something like Sech[x]^2, I get the message: I then tried other search queries, such as p^2, ...
9
votes
0answers
45 views

Report: IgnoringInactive: a bug?

Just to report. IgnoringInactiveshould work with Cases. In agreement with the things written at the Documentation Center this: ...

15 30 50 per page