3
votes
1answer
114 views

Use URLFetch in init.m

I'm not able to use URLFetch in my $UserBaseDirectory/Kernel/Init.m as it always returns ...
0
votes
0answers
41 views

Need help solving integral [closed]

Can you please provide a step by step solution for next integral. I don''t have any idea of hoe this can be solved Integrate(e^x^2)
0
votes
1answer
76 views

Problem with integral equations

I have solved an integral equation with the following methods: ...
15
votes
1answer
148 views

File-name completion for custom functions

Mathematica 10 has introduces file name completion. It works only with certain built-in functions such as Import, SetDirectory, ...
13
votes
3answers
624 views

How do you programatically load data into symbols?

I am trying to convert a list of string names into symbols, which will then be used to store data. I have 24 files (where the name of each file is a member of the list mentioned above) that I need to ...
20
votes
3answers
983 views

How can I connect to a remote machine?

My friend and I are trying to set up remote kernels. He has a server at home running 1 kernel off of a Linux-based server. We're both on 8.0. I manually set ...
1
vote
0answers
39 views

Purpose of construct `With[{var=myComputation[…]}, var/;True]`? [duplicate]

Could someone please give an illustrative example showing the purpose of construct of form With[{var=myComputation[...]}, var/;True]? Also, I wonder what kind of ...
5
votes
2answers
76 views

Change dataset key name

Using the example in the documentation, how would I make a new dataset with the key "b" changed to key "h". ...
4
votes
3answers
267 views

DSolve not finding solution I expected

Try to solve the following ODE via DSolve $$ \left\{\begin{aligned} y'(x)+2 y(x) e^x-y(x)^2 &= e^{2 x}+e^x \\ y'(0) &=1 \end{aligned}\right. $$ The ...
3
votes
0answers
51 views

How to get Symbol[“x”]=3 to work [duplicate]

This is probably a really simple one, but I'm stumped. I want Symbol["x"]=3 to work just like x=3. However I can't figure out ...
2
votes
0answers
28 views

Data paste in piecewise table

How can I paste data copied from several lines into a piecewise table, without pasting it in a single cell?
4
votes
2answers
174 views
1
vote
1answer
74 views

Passing function as argument

I've been mucking around with passing functions as arguments to other functions and via trial and error seem to have something that works. I was wondering if someone could have a quick look at some ...
11
votes
0answers
143 views

Is garbage collection broken in version 10.0.0?

In version 10.0.0 under Windows I am observing the following behavior: Do[Module[{foo}, foo[x_] := 1; foo[0]], {10}] Names["foo$*"] ...
2
votes
2answers
50 views

InterplationOrder, ListPlot3D and using AbsoluteOption to find value used. Slow using InterpolationOrder

What lead to this, is when I noticed that ListPlot3D was much slower when adding a specific InterpolationOrder->n vs. not and ...
0
votes
0answers
27 views

NonlinearModelFit::nrlnum error using FindFit /NonlinearModelFit

My question is related to my previous post I'm trying to fit experimental data (after suggestion here by David) with Airy type function `data01 = Import["366.0000cm_660.0000nm.png"]; data02 = ...
3
votes
3answers
111 views

Help with coding triangular nodes/elements

I'm trying to write a program where it will shoot out the triangle node numbers. For example, in the picture, if we choose to divide this triangle by 5 points, then the program will return out the ...
13
votes
1answer
260 views

Unpacked eigenvectors of complex matrices

Edit: This bug is fixed in Mathematica 10.0.0 I want to calculate eigenvectors of a Hermitian matrix. For example ...
3
votes
1answer
50 views

Exporting as GIF [duplicate]

I want to export a simple animation as GIF. I had a look at here but could not understand what was being described. Any help would be appreciated. For instance, how do I export the following ...
16
votes
2answers
499 views

Built-in unit strings recognized by Quantity?

It’s great that Quantity can utilize Wolfram Alpha to interpret unit strings that it doesn’t recognize, but I need my code to work on machines that do not have Internet access. Is there a complete ...
2
votes
1answer
38 views

How do I tweak the input assistant to use string completion on my own functions? [duplicate]

I would like to be able to use Mathematica's string completion feature for subvalues of my own functions. I tend to go for functions that follow the pattern ...
0
votes
0answers
32 views

Why does string completion work differently between functions?

The behaviour of string completion for functions that take strings as input is not entirely clear to me. For example, when I type a function f I tend to go through ...
9
votes
4answers
674 views

To inscribe a circle in a given triangle

I am trying to to inscribe a circle in a given triangle but it isn't working. I've used GeoGebra with this construction and worked but as I'm new to Mathematica I am missing something. It can't be so ...
3
votes
1answer
132 views

Mathematica takes too long to solve this

I have the following system of equations: ...
6
votes
3answers
264 views

How to remove a line of a matrix if not all elements are numeric?

I have a matrix a n columns and m lines. I'd like to efficiently remove the lines that are not entirely composed of numeric ...
11
votes
3answers
907 views

Elegant manipulation of the variables list

I have a list of global variables (some of them are indexed variables), for example: varsH = Hold[U0[1], U0[2], B0, V0[1], V0[2]] Or (if it is easier to handle) ...
1
vote
2answers
51 views

Pass the list of variables into function to change their values

I'm new to Mathematica, so I don't really know, how do what I want, and I don't even know how to google it. Doing one Mathematica task for my supervisor, I faced the following problem. I need to ...
1
vote
1answer
42 views

Appending functions to a list [duplicate]

Could someone please explain the difference between these methods, and possibly a nicer way to get the first result? (This is a toy example and in my real program I'd like to use ...
0
votes
0answers
76 views

Simulation of Circular plate vibrations

I'm trying to simulate the vibration of a circular plate with a free edge. The plate wave equation describes the vertical displacement of the middle surface of the plate $(\zeta)$ as a function of ...
1
vote
1answer
58 views

Stochastic Approximation and Simulation using Running Median

I have a function $$F(X_{t+1},Y_{t}^{med})= \alpha X_{t+1} + (1-\alpha) Y_{t}^{med},$$ where $$Y_{t}^{med} = Median(Y_1, Y_2,... Y_t).$$ Moreover, $Y_1 = X_1$ and $Y_t = F(X_{t},Y_{t-1}^{med})$ ...
2
votes
0answers
40 views

Implementation of Series function

I'm trying to evaluate the partial derivatives of some function F[x,y] at some point, i.e. ...
54
votes
5answers
28k views

Get a “step by step” evaluation in Mathematica

Is it possible in Mathematica to get a step-by-step evaluation of some functions; that's to say, outputting not only the result but all the stages that have led to it? Example : Let's say I want to ...
3
votes
1answer
80 views

Wavelet expansion of given function (as opposed to DWT of given data)

To illustrate, say I take the following function (the reason for the square root will be apparent soon) ...
6
votes
5answers
365 views

The correct pattern for Cases

I have a problem that, admittedly, I have already solved using Select instead, but it is irking me that I cannot seem to construct the right pattern to solve it ...
2
votes
3answers
128 views

Alternatives to Append/AppendTo for generating a list in an interactive DynamicModule?

I have a stack of timelapse microscopy images that I am trying to segment frame-by-frame using some of Mathematica's image processing functions. I have created a little interactive DynamicModule with ...
5
votes
2answers
286 views

plotting a trig functions along with its envelope

Note: This questions is quite different from the ones referred to in the comments. Those deal with numerical questions, while this one is algebraic. I have plots of the following type: ...
5
votes
1answer
107 views

Numerical error in Mathieu functions

Consider the MathieuCharacteristicA function, which is a piecewise function according to the documentation. The discontinuity happens at integer number. ...
1
vote
1answer
46 views

When event and “stop integration”

I am using NDSolve, to solve for an equation. At some point, I want it to stop integrating and keep a constant value for the solution from the point it stopped changing. I tried setting the derivative ...
0
votes
0answers
77 views

How to identify more than one truck on a picture [closed]

First, I am completely new to the field of image processing and I don't know how to start. My problem is as follows: I am doing a data analysis to identify if there are multiple trucks on certain ...
-2
votes
0answers
135 views

When is Mathematica 10.0.1 being released? [closed]

Mathematica 10.0.0 is very buggy. "Formatting Notebook Contents" freezes on win7x64 is the most frustrating of them all.
4
votes
1answer
153 views

How to see abstract syntax tree of Wolfram Language expression

I mean, suppose I have this expression: 2 + 2 I want to get something like this: Plus[2, 2] as an output. I've tried FullForm, but this just evaluates 2+2 and returns 4. Is this even possible?
16
votes
2answers
750 views

Using a list of tuples in a pure function

I want to use a list of tuples within a function to make assignments. Say I want to make assignments of the form value[i,j] = val What I have is a list of ...
3
votes
2answers
75 views

Is the MaximalBy function still used [closed]

On the mathematica reference website it gives examples using the MaximalBy function, However when I am using it, I see no desired output. This leads me to wonder if mathematica has stopped using this ...
0
votes
0answers
20 views

different values of integral with/without bogus assumptions

I do not understand why I get different answers for the following two identical integrals. ...
1
vote
0answers
30 views

Export multiple graphics into same file

I have a plot and a table that I am trying to plot in a single file together. I have a "working" example, but it is not perfect. I export a list, but it keeps the commas and brackets, that is the only ...
0
votes
1answer
90 views

Plotting Time Series with call to Wolfram Alpha

I am trying to plot stocks showing some of the local maxima. As an exercise I first tried to load Apple's stock data from Wolfram Alpha with the following code: ...
4
votes
0answers
46 views

Operator and VariationalMethods [closed]

I'm trying to get the variational derivative $\delta E$ respect to $\Phi$ of this functional $$ E[\Phi] = \int d^3r\ \left[ -\frac{\hbar^2}{2m}\nabla^2\Phi + V(\vec{r})\Phi^*\Phi + ...
0
votes
1answer
168 views

Defining a new matrix product of matrix function [closed]

Suppose I have two matrices A, B, whose entries are functions of x. Suppose they are 2*2. In the product, each entry is of the form $\sum_k A_ik B_kj$. There are two summands corresponding to k=1,k=2. ...
0
votes
0answers
6 views

Probability in a knock-out tournament [migrated]

Maths newbie so please go gently. Imagine if you would: 4 teams in the semi-final of a soccer tournament A,B,C,D. A,B and C all have 20% chance of winning the tournament. D however, is the favourite ...
0
votes
1answer
55 views

Is it possible to build/simulate/extract data from a System Modeler model completely inside a notebook using the MathModelica language syntax?

See examples in: http://www.mathematica-journal.com/issue/v10i1/contents/MathModelicaPaper/MathModelicaPaper_2.html It seems to be ruled out by the statement (Chapter 2 intro): "The subset of the ...

15 30 50 per page