2
votes
2answers
104 views

How to initialize several elements per iteration with Table?

I would like to initialize this kind of vector : {0,0,1,1,0,1,0,1,1,1,1,1} with Table. I tried ...
0
votes
0answers
51 views

Mathematica cannot find the c compiler

I installed Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 Then, I installed Mathematica 10 trial version. I did: ...
22
votes
5answers
1k views

2D random walk within a bounded area

I want to simulate a random walk on two dimension in a bounded area such as a square or circle. I am thinking of using If statement to define a boundary. Is there a ...
1
vote
3answers
68 views

Store matched variables

Edit: I am matching and replacing a particular expression. At the same time... I want to store matched variables for later use. I got it to work with messed up code involving ...
3
votes
5answers
232 views

How to add periodicity to condition?

Is it possible to set the following function f[a], where a can be any real number? $$ f(\alpha) = \begin{cases} 1 ...
0
votes
0answers
87 views

Spectral Clustering

I am interested in the following question: How is it possible to check whether an algorithm is working properly? However, this question is too general for the post and I'd like to restrict attention ...
6
votes
1answer
84 views

Functional-Style Partial Application and the Accumulator Pattern?

Following up on Functional-style Fixed-Length Queue Object?, I want to generalize it to a functional-style accumulator pattern. Lots of things look like accumulators, loosely defined as binary ...
2
votes
2answers
98 views

Text to speech in notebooks?

Mac OS, MMA 10 -- I accidentally discovered that typing CtrlV between cells reads out the cell below, or, if you have text selected, reads out the text. CtrlV would be Edit > Paste on Windows, so ...
3
votes
3answers
73 views

Unexpected Behaviour with local variables and ToExpression

I encountered an unexpected behaviour in my mathematica-code, and want to understand whether that's a mathematica bug, or a misinterpretation on my side. ...
2
votes
0answers
45 views

Functional-Style Fixed-Length Queue Object?

Following up on question Side-effecting an array in an association? and @Mr.Wizard's answer in there, I'm modernizing and tweaking Daniel Lichtblau's efficient queues and ran into a little roadblock. ...
2
votes
1answer
111 views

Is it necessary to introduce ImplicitRegion and ParametricRegion in version 10?

In version 10.0, Mathematica introduced a new function about region plotting: ImplicitRegion. But I'm wondered that haven't this function been already existed in the older version? That is, ...
0
votes
2answers
61 views

Plotting3D Cylinders and planes [closed]

How can I plot3D cylinders $y=1-x^2, y=1+x^2$ and planes $2x+2y-z=10, x+y+z=2$ in a coordinates system?(with Mathematica)
2
votes
5answers
136 views

Creating a conditional table

I'm trying to create a conditional table. Let's say I want to have such result: {1,2,3,4,5,0,0,0,0,0}. The idea is to create a table of n elements (10 in a given example), but when one element takes ...
0
votes
0answers
32 views

How to modify MagnificationPopUp menu values in notebooks [duplicate]

The default options in a MagnificationPopUp menu (50, 75, 50, 100, 125, 200, 300) are sometimes not sufficient to meet all user's needs. This may have more applicability when creating user ...
2
votes
2answers
139 views

Build tabular like Wolfram Tutorial Collections

In Wolfram Tutorial Collections,I see many tabular shown as below: My Trial Firstly,I copy the tabular template from the WRI ...
4
votes
1answer
83 views

Avoid writing explicit form of operator

I would like to evaluate the following (simplified) expression with Mathematica : $\frac{\delta}{\delta J} \exp[(J(x)+K(x)) \Delta (J(x)+K(x))]$ where $\Delta$ is a differential operator independent ...
2
votes
0answers
74 views

A problem about generating `[]` automatically

I have using the Wolfram Mathematica for two years.And I know the Mathematica has the operation Alt + ] that can generate []. ...
-2
votes
0answers
48 views

How do I find the coordinates of pont and plot the coordinates? [closed]

I have a video file of a signature.How can i find the coordinate of points in the frames of the video?Also I want to plot x values as a function of time.How can i do such a thing?
3
votes
2answers
78 views

Side-effecting an array in an association?

I'm working on some classical data structures (stack, queue, etc.) and want to mimic oo style in MMA. As a first attempt, I want to store an array in an Association, like this: ...
1
vote
0answers
90 views

What's new in Mathematica 10 that begginers must know? [closed]

Is there any new and Important feature in version 10 that the regular not-so-advanced Mathematica user must know? How do the new features of version 10 make the programing more efficient or faster? ...
0
votes
0answers
34 views

Crash on startup [closed]

I recently changed my computer and have trouble with Mathematica on the new system. The installation completes without errors but immediately after clicking the Mathematica icon I get the message ...
10
votes
2answers
185 views

How can I decide whether a closed surface is intersected by a triangle?

A closed surface consisted of Polygons or GraphicsComplex and a triangle made by 3 points are in a 3D space. How can I decide ...
4
votes
1answer
95 views

Problem with clipping of tick labels

Please look at Show[DiscretizeGraphics[Graphics3D[{Cone[]}]], Axes -> True, Boxed -> True] Well, there are some ...
3
votes
2answers
95 views

How to modify the elements of a list in a loop?

I have a list with points coordinates. And I'm trying to traverse it and perform some matrix operations on each point. But I have a problem with storing modified points in the initial list instead of ...
0
votes
0answers
35 views

Difficult to solve the equation using FindInstance and not able to solve it numerically

I hope to find the range of a which leads to non-zero solution of H when you are given a specific value of B. And I hope to get ...
0
votes
0answers
24 views

Use WeatherData from many location [closed]

Can anyone tell how can I predict the weather data in my location using weather data in other locations? Sort of algorithm, or equations??
3
votes
2answers
75 views

Testing a package in Mathematica 9

I am in the process of writing a package, but my way of testing it just seems wrong and inefficient. Each time I edit the .m file, I save it, quit the kernel, call the package in a separate notebook ...
1
vote
0answers
24 views

Truncated Distribution Parameter Search Produces Singular Jacobian Using FindRoot

I'm trying to find the 2 parameters of a truncated Weibull distribution using version 10 and FindRoot. I would like to truncate the distribution between t =0 and t = 3600 with the probability of ...
13
votes
3answers
206 views

Why does Mathematica simplify $x/x\to1$?

If I enter x/x, I get 1. Such behavior leads to this: Simplify[D[Sqrt[x^2], x, x]] 0 ...
0
votes
0answers
25 views

Missing titles in palettes with Win 8

I just noticed that MMA (8 and 10) in Windows 8 on my machine does not display the title of any palette. For ex. Basic Math Assistant palette appears without title. Same with user-defined palettes Can ...
2
votes
1answer
70 views

Multiple plots using dynamics

I am studying Dynamic and DynamicModule, and I have tried to make a simple plot of a family of real functions. The number of functions should be a dynamic variable controlled by a slider. So I have ...
-1
votes
1answer
50 views

Problem with cross product of two columns [closed]

I am trying to perform a cross product of two "Columns" which I expect to give me a column too: Cross[{{a}, {b}, {c}}, {{x}, {y}, {z}}] but it gave me an error: Cross::nonn1: The arguments ...
7
votes
4answers
590 views

How many times do the two given curves intersect at the origin?

I'm reading/studying on my own a book about algebraic curves. I'm trying to find a way for Mathematica help me with the following (the book, ISBN: 038731802X, allows me to use any CAS / program. ...
1
vote
0answers
62 views

Values of an algebraic curve [duplicate]

Using tmp = ContourPlot[{y^4 + 6 x^3*y + x^8 == 0, y - x^3 == 0}, {x, -5, 5}, {y, -5, 5}] How can I get the pair values used to plot these two curves? For ...
6
votes
2answers
86 views

Communication between local kernels

this is my first post but you have already helped me so many times that I have to start by saying thanks a lot! I have a really long calculation to do, and I have used the Evaluation->Kernel ...
2
votes
0answers
44 views

EquationTrekker-like behavior for state space?

EquationTrekker is great for phase space plots, however I want to plot the results of $$\phi '(t)=-b \sin (\phi (t))+g \sin (\Phi (t)-\phi (t))+1\\\Phi '(t)=g y ...
3
votes
1answer
117 views

Triangle that collapse cells

I'm not very good in English , so is hard to explain but how put the triangle in the left that deploy or collapse a group of cells ?
2
votes
1answer
75 views

How to build a list of constraints for NMinimize

Let's say I have aset = {-1, 0, 2}. I would like to create a variable Var that takes values from that set, i.e. ...
0
votes
0answers
50 views

How would I program difference equations in Mathematica? [closed]

I want to program difference equations like $$x_{n} = f(x_{n-1}); x_{0} = a $$ into Mathematica so that it can evaluate by recursive substitution and give me an algebraic expression in $x_0$. How ...
5
votes
5answers
280 views

How to display operations on list elements

When applying some arithmetic operation on two lists, I'd like to display the actual operations between the elements of each list. For example, {1, 1} + {1, -1} ...
-3
votes
0answers
67 views

Get the function of a scatter plot [closed]

Considering we have a scatter plot and the best linear fit of the data, and also average error of it, how can we get the function from that plot? The plot is I get it with ...
0
votes
0answers
27 views

Maximizting a system of equations subject to “nested” constraints [closed]

I'm trying to maximize a system of equations subject to some nested constraints. In the n=2 case, I have two objective functions: ...
1
vote
2answers
59 views

Block diagonal matrix [closed]

Suppose I have 4 matrices: A, B, C, D, and I want to form a block diagonal matrix from these sub-matrices, i.e. it would look like MatrixForm[{{A, B}, {C, D}}] ...
2
votes
0answers
59 views

Determining the total illumination of a polygon

Is it possible to determine the total illumination of a particular polygon with the given light sources? I truly acknowledge that Mathematica is not supposed to do this modeling, but it is what ...
1
vote
0answers
47 views

Cannot open WolframAlphaClient` [closed]

When I try to use WolframAlpha, GeoGraphics, etc. in any manner on my Linux machine I receive errors about ...
0
votes
0answers
34 views

VTK handing in Mathematica [closed]

I have a VTK file of an unstructured grid saved in binary format. The data is a set of points (coordinates) plus a set of values defined on each of the points. In my case I would hope to import a ...
3
votes
0answers
96 views

Problem with FTP import in V10

Mathematica V10 returns an error when download directory. URLFetch :: invhttp: "FTP: could not retrieve (RETR failed) the specified file." V9 successfully retrieves the same reference. This ...
6
votes
4answers
184 views

How can I add a tangent arrow at a certain point of a curve in a LogPlot?

How can I add an arrow at a certain point of a curve with the direction of the arrow tangential to that point? (Line are not straight in a log-plot.) ...
3
votes
1answer
58 views

SpeechNavigation option. What is it for?

Could somebody please explain what is the use for SpeechNavigation option found in the option inspector?
3
votes
1answer
136 views

Issue in ParallelTable after evaluating another function using NDSolve and FindRoot. What is wrong with this inverse?

I am trying to find the inverse of a function which is defined through NDSolve and NIntegrate. The question is pretty similar ...

15 30 50 per page