0
votes
2answers
15 views

How to create a Disk with smoothly changing coloring?

I want to have a disk. But this disk shouldn't have a fixed color; instead, I'd like it's color to fade smoothly. Until now, I came up with two ideas how to achieve this. Idea #1: ...
0
votes
1answer
21 views

How to sample only odd numbers in the domain of a table for list plot

The following code samples $k$ points around a circle at integer values starting from $0$: ...
0
votes
0answers
27 views

How to Fold (FoldList) this in a more compact (efficient) way?

Example code: x = Table[something[i], {i, 5}] Table[Fold[f1[#1, f2[#2, a], a] &, x[[i]], {c1, c2, c3}], {i, Length[x]}] This above is just an example. I ...
8
votes
0answers
45 views

Incorrect use of Scaled causes crash

Bug introduced in 8.0 and persisting through 10.0.2 or later While playing with Scaled, I made a syntax error which caused a crash instead of an error message ...
0
votes
0answers
25 views

Sum of derivatives [on hold]

I'm trying to write the expression: $$\sum_{i=1}^3 g_{ii} \partial_i \partial_i f,$$ where $f$ is a function of variables $\{x_1, x_2, x_3\}$ and $g$ is a 3x3 matrix. My expression is: ...
0
votes
0answers
29 views

Applying the square root of operator on polynomial functions

I am trying to apply an "operation" on polynomial functions: apply the operator $(\frac{\partial f}{\partial x}-y\frac{\partial f}{\partial z})^2+(\frac{\partial f}{\partial y}+x\frac{\partial ...
0
votes
0answers
26 views

Plotting result of symbolic equation [on hold]

I used Solve to obtain a one parameter set of three solutions for a complex-valued cubic equation. How do I plot the resultant solutions? ...
0
votes
0answers
13 views

What kind of objects in NETLink for PicoScope interfacing?

I have two issues in my mathematica code for control PicoScope using NETLink. PicoScope series 3206 remote controll was in one paper already shown ...
8
votes
0answers
42 views

Reading from a socket stream

I noticed an undocumented socket package (SocketLink) in Mathematica (Using version 10, not sure when it was actually added) and wrote a barebones HTTP responder ...
2
votes
1answer
27 views

How to access directly the “CUDA Memory” address from another parallel kernel?

I work with CUDALink and have some small successes. I use direct calculation on GPU without using CPU (only for sanding commands for CUDA function). Until now I have stored on the hard drive with ...
3
votes
1answer
90 views

Largest matrix size supported by Mathematica 10

I have need to store large square matrices in memory, some times sparse, some times not. I have used up to $2^{15}$ by $2^{15}$ as my upper bound so far, and Mathematica has handled it even if it took ...
-1
votes
0answers
35 views

What is a Horn Clause? [on hold]

I am not an expert in Mathematics :) thus if someone can let me know What is a Horn Clause in layman's terms? I know it is used in First order Logic but I am unable to understand what is it and how to ...
0
votes
0answers
19 views

Series expansion of large expression

I have the following equation: eq=E0[x,y,z]+E1[x,y,z]*Cos[phi]+E2[x,y,z]*Cos[phi]^2+E3[x,y,z]*Sin[phi] Now E0,E1,E2 and ...
1
vote
1answer
43 views

How to use a list of rules as a data set

I have a file of models that I have saved that I want to be able to call in another program to be solved with NDSolve. Can I use ...
1
vote
1answer
39 views

Defining a matrix with the symmetry Transpose[A(q)]=A(-q)

I am trying to construct a symbolic matrix with the following property- $$ \left(D_{3\times3}(q)\right)^T = D_{3\times3}(-q) $$ Note that for $q\in \mathbb{R}$, $D(q)$ would be hermitian. So far i ...
0
votes
0answers
20 views

Getting a remote kernel from a machine not directly reachable

I have a machine capable of running Mathematica on 24 cores which I would like to take advantage of :) The only problem is that this is a remote machine to which I cannot connect directly, I have to ...
4
votes
1answer
34 views

TensorReduce not simplifying transpose for symmetric matrix?

I know Mathematica is not very good with symbolic manipulation of matrix expressions, but I was surprised to find that it can't reduce the following expression: ...
2
votes
0answers
30 views

NDSolve is running an extremely long time: how can I save the existing data?

I am trying to solve a PDE by the following code. It takes 1 hour or so to reach t=25.72 but about 20 hours to reach t=25.72404031638060174049337306126853310997. Actually, the time step is extremely ...
1
vote
0answers
32 views

Getting a part of a matrix Inverse for later use

I was trying to get an element of a matrix, and use in further computation of my program. Problem was that its not reading the value unless and until I specify it again. My code is: ...
3
votes
2answers
254 views

How do I show only the intrinsic color of 3D polygons?

System: Mathematica 9, Windows 7. I want to assign a polygon a color in such a way that it is rendered in that color irrespective of any ambient light sources. In other words I want Yellow to be ...
0
votes
0answers
20 views

Maintain a function quality of an expression

I have written a simple code in Mathematica to put a matrix into a vector. The matrix was a function of a variable n, and I want the new vector to also have this quality as a function of n. ...
3
votes
0answers
46 views

Mathematica GUIKit

Does anyone of you know if the GUIKit package is still under some development by Wolfram Research or is the current version 1.1.0 the last one. Does it make sense to make GUIs using this package in ...
0
votes
0answers
44 views

How to make hollow Graphics3D?

I keep seeing a notebook to use of Mathematica as a 3D Printing tool (e.g.: this link). In the notebook on slide 8/11, we find these pictures: I'd like to design it as such that, but I don't ...
2
votes
0answers
37 views

How to filter a dataset using Select and a parameter

I'd like to filter dataset and use a parameter in Select. It does not work – see the example below. ...
0
votes
0answers
23 views

I am trying to solve a set of coupled differential equations with known boundary conditions using mathematica

Here are my differential equations and boundary condition. f''[x] = h^2/f[x]^3 - f[x] (1 - f[x]^2), h == (f[x])^2[Phi]'[x] f[0] = 1, f[L] = 1, where L can take values: {L,1,8} [Phi]'[0] = 0 I've ...
0
votes
0answers
37 views

Brevity of denoting Conjugate[]

How do I make Conjugate[] expressions have a bar above them instead of Conjugate[ before them, in order to shorted up expressions? I'm looking at something like this screenshot for example:
1
vote
1answer
130 views

Understanding SameQ

I am new to Mathematica. So I have read the documentation for comparing expressions in Mathematica and I still don't get the SameQ (===) function. Let me give you a short example: ...
4
votes
4answers
204 views

Long list of similar rules

Given the following: ...
0
votes
0answers
27 views

How to join datasets? [on hold]

I have 3 datasets as a lsit: {dataset1,dataset2,dataset3} I want to convert them into a single dataset. The following does not work Join[{dataset1,dataset2,dataset3}] However, this works ...
0
votes
0answers
36 views

Random generation of three-non-collinear and four-non-coplanar points in 3D space

Please, take a look to this code. How it can be improved so that the time execution becomes smaller? ...
0
votes
0answers
30 views

Bar legend to Contour Plot

I have a set of 4 contour plots and I show them with the simple Show. How do I present a legend that is the same for the whole set? i.e., the scale needs to truly represent the set and not the values ...
0
votes
2answers
28 views

Generating a Variable Number of Dynamic Variables

I know questions that get at this very issue have been posed in other ways here, but as a relative beginner, I've had trouble understanding the answers. For my application, I am developing a simple ...
1
vote
0answers
47 views

What's real analogue for FromDigits?

FromDigits only works for integer strings. What's its real-number analogue?
1
vote
1answer
32 views

Variables within functions within DSolve

Hi I am just beginning to learn Mathematica and this is my first time I have been exposed to any type of coding. I am encountering a problem in a basic physics problem. For example we are always ...
0
votes
0answers
14 views

Can i change the default search paths?

When i try to load packages on this computer, i get an error (i already know the packages work). I think the issue might be to do with the fact that mathematica can't process the network drives, some ...
0
votes
1answer
48 views

How to use MemberQ for such Variables?

This is NOT the desired out come. I want this test to fail: ...
-1
votes
2answers
58 views

Append plot to existing plot?

I have generated a plot from t=0->1, and I wish to append another plot from t=1->2. How can I do this? Thanks in advance.
1
vote
0answers
29 views

How can I detect certain letters by shape in an image?

I have a website where people can post Flipbook animations, called Flipnotes. Unfortunately, most of the Popular flipnotes are in the following categories: MV (Music Video) AV (Audio Video) AMV ...
1
vote
2answers
44 views

Insert an element to AdjacencyGraph

I'm not able to insert an element to mine AdjacencyGraph. I suppose that i should modify my AdjcencyMatrix: ...
1
vote
1answer
50 views

Finding the true expectation

I have the density function and I want to determine its expected value ...
2
votes
2answers
119 views

Too high differential order in boundary conditions?

The following boundary value problem has a unique solution: $$ \begin{cases} x''-x=0\\ x''(0)=0\\ x(1)=1 \end{cases}\\ \text{General solution: } x=c_1 \sinh{t}+c_2\cosh{t}\\ \text{Solution for BVP: } ...
1
vote
0answers
35 views

Purpose of VertexWeight

I am trying to partition a graph into partitions of equal weight (on the vertex). I looked at the documentation, and found VertexWeight, which seems to attach a weight to a vertex. In the details, ...
0
votes
0answers
73 views

How to render a 3d image of the galaxy? [on hold]

I recently came across the Uniview software package, there has even been a TED talk about it. Here is another example of some interactive views of star maps. In Mathematica 10 AstronomicalData has ...
2
votes
2answers
66 views

How to rearrange structure and type of an imported dataset?

I have a bigger dataset imported from Excel. Its elements have a form of {time, data}. Day is irrelevant and I would like to have the time in decimal form e.g. 10:30 is 10.5 ...
2
votes
1answer
78 views

Keeping Font Relative Size to Object/Graphics/Plot Object upon Reize

I want to keep the text generated within a graph/plot to remain the same relative to an element (a disk of size 0.2) of the image upon resize, not the image itself, while maintaining the original ...
0
votes
0answers
32 views
5
votes
1answer
83 views

Compability between Graphics coordinates and shifted projections in GeoGraphics

I'd expect GeoGraphics to handle positions of points since they are provided with GeoPosition wrapper. But it is not the case ...
-5
votes
0answers
22 views

Rings modulo n, units [on hold]

How many units does the ring $Z/60Z$ have? Explain your answer. How many ideal does the ring $Z/60Z$ have? Explain your answer.
0
votes
1answer
19 views

Histogram 3D: use different bin width in two directions

I'm trying to plot an histogram of a set of data, I would like to use a bin of different width in x and y direction. I've tried using the following two codes: ...

15 30 50 per page