1
vote
1answer
109 views

sluggish 3D graphics

After I plot two concentric cylinder, I see that rotating the 3d object is not smooth and it's slow. ...
2
votes
1answer
90 views

How to define the symbolic expression $V = \frac{1}{N} \sum_{i=1}^N ( y_i(g) - z_i)^2$ in Mathematica?

I want to define this expression symbolically: $V = \frac{1}{N} \sum_{i=1}^N ( y_i(g) - z_i)^2$ in which $\{y_i(g)\}_{i=1}^N$ is to be understood as a symbolic sequence that depends on a vector $g$. ...
0
votes
1answer
37 views

dropOperator done on Matrix of a Matrix - How is this done?

I have implemented this dropOperator from dropOperator from stackexchange and works fine on a single Matrix. But now I have a Matrix of a Matrix and want to drop some rows or columns (in the pic below ...
1
vote
0answers
140 views

How to solve Fuzzy Differential Equations

How to solve Fuzzy Differential Equations using DSolve or NDSolve, Or Differential Equations with fuzzy number as initial conditions
1
vote
1answer
226 views

How To Replace $\rightarrow$ by $==$ in Mathematica's Output when using Solve

I want to create equations out of the output (solutions) produced by Mathematica when using the Solve functions. For argument's sake, consider the following. ...
2
votes
2answers
661 views

How do I add contour labels to contour plot?

I tried ContourPlot[f[x, y], {x, -2, 2}, {y, -2, 2}, ContourLabels->automatic] , but it messes up the contourplot. How can I just add values to the contours ...
5
votes
1answer
262 views

Wrong BarLegend with VisibleSpectrum

...
2
votes
4answers
521 views

How to create 3d region of f[x,y] over triangular region on xy plane?

I need to create a VOLUME under f[x,y]= x (y^3 + 1)^(1/2) that's above the triangular region bounded by y=x/3, ...
1
vote
1answer
213 views

Plotting ODE solutions with two parameters

I have a system of two first-order ODEs with two parameters, a and b and I'm trying to plot the solution curve in the X-Y plane at a given initial condition for various parameter values. Can someone ...
5
votes
3answers
801 views

How to build this grid with less code?

I have the diagonal and both upper and lower triangulars of a grid. ...
5
votes
1answer
254 views

Find GeometricTransform from 3D object external surfaces to a positional point cloud data

I am looking for another way to approach this problem. Any suggestion on how to optimize the computing speed is welcome. I have a BSplineFunction which accurately ...
6
votes
2answers
182 views

Injecting list of controls into manipulate

I am trying to program a method to manually move around graph vertices, and then output the new coordinates. I'd like to turn this into a function that can be called with a variable number of ...
0
votes
1answer
60 views

probability going outside 1 (due to optimization violation of constraint)

I am working on an optimization, which involves the following density: ...
4
votes
2answers
90 views

Count the number of element repeats at various distances

I have a function of x: f[x_] := Abs[Extract[list, x + n] - Extract[list, x]] I then apply this: ...
1
vote
0answers
27 views

Assign a symbolic tensor with determinant greater than zero in Mathematica

I can create a symbolic tensor in Mathematica: $Assumptions = F \[Element] Arrays[{3, 3}, Reals] Is there anyway that I can tell Mathematica, that the ...
0
votes
0answers
72 views

Change of basis from monomial basis to Chebyshev basis of polynomials [duplicate]

I have a certain multivariate polynomial (in 4 variables) written in terms of monomials, and I would like to change the basis into Chebyshev orthogonal basis. Is there any function to do that?
1
vote
0answers
157 views

Derivative with respect to a tensor

I am trying to differentiate a tensor with respect to another one in Mathematica, but I can't do it. Down below is the code I am using: ...
2
votes
0answers
76 views

Compilation of a function that needs to call Subsets

I'm working on a code that runs many (easy) operations on combinations (subsets) of different size (6, 7, 8, 9) taken from a big set of numbers (normally more that 40). So, this means the code has to ...
0
votes
1answer
155 views

Draw an n-gon with Polytopes package?

Given $n$, I'm interested in generating the vertices of a regular $n$-gon. I noticed that this was possible for certain values of $n$ using the Polytopes package; e.g., via ...
8
votes
0answers
68 views

Syntax information “ArgumentsPattern” for function of function?

Is is possible to write SyntaxInformation of "ArgumentsPattern" for functions of the form: ...
0
votes
0answers
45 views

Changing Default Notebook Window Magnification level [duplicate]

I have searched for an answer to this problem in Mathematica documentation, googling, and here on this Mathematica.SE forum. So far, no answer that I can find. When a new Notebook window is opened, ...
5
votes
0answers
214 views

Organizing Wolfram language symbols with Entity

Here's a word cloud tally of the ~5k System names split at camel humps, with the long tail cropped. What resources are available to organize these terms using the new ...
0
votes
2answers
127 views

TreePlot remove an arrow

Is it possible to make Mathematica make a connection to p2 from both SysVar 2 and SysVar3 like I drawn ? Code: ...
1
vote
0answers
56 views

How to stop font resize of input?

How do you stop Mathematica from resizing the input font when entering formulas with fractions and such? When I enter a formula with a few fractions the text becomes microscopic. For example: ...
1
vote
0answers
193 views

Why is my output equal to my input?

I tried to solve a system of differential equations with the code below: ...
7
votes
2answers
288 views

Mod[1.2, 0.2] is not equal to zero

Why doesn't the following expression evaluate to zero? In[1]:=Mod[1.2, 0.2] Out[1]=0.2 Edit: This is what I wanted to do: ...
0
votes
1answer
70 views

Taking function output as shown, and processing it regardless of its history

I am making some symbolical calculations for my quantum chemistry class. I am supposed to build a wave function composed of multiple other functions, each of which is also composite of some lower ...
0
votes
1answer
131 views

Problem with DensityPlot Plot3d of Heavisde function

I have problem with heavisde pi or theta function. When I plot them densly i.e. w[x,y] like this w[x_, y_] = Sum[HeavisidePi[x - i/100], {i, 1, 200}]; I get <...
2
votes
0answers
196 views

Volterra integral equation

I have to find an approximate numerical solution for the equation $$ F(x) - \lambda \int\limits_1^{x} \text{d}s \;s^2 F(s) Z(x-s) = G(x) $$ $$Z(s) = (\psi''(1-2\ h\ i\ s)- 0.5 \psi''(1-2\ h\ i\ s))$$ ...
0
votes
2answers
200 views

Block matrix definition and inversion

I would like to define the following block matrix $$ A=\begin{bmatrix} H-G_1 & -G_1 & \ldots & -G_1 \\ -G_2 & H-G_2 & \ldots & -G_2 \\ \vdots & \ldots & \vdots & ...
1
vote
2answers
172 views

TreePlot Vertex Labelling

I have plot: TreePlot[{1 -> 4, 1 -> 6, 1 -> 8, 2 -> 6, 3 -> 8, 4 -> 5, 7 -> 8}, VertexLabeling -> True] Can the labeling on the second level be done as 8, 6 ,4 while keeping the command vertex ...
2
votes
1answer
527 views

How do I change the size of the font for the output of the Print[] command?

I created a Stylesheet that increased the sizes of the fonts for the styles Input, Output and Text. Still, when I use the command Print[] the output comes out tiny. In the code below I added some ...
1
vote
0answers
112 views

Summing the probability distribution to 1 to convince myself

I have worked out a probability distribution and want to check its sum which is necessarily 1. First we write $$ r \triangleq \frac{(2 \lambda + \mu)^2}{2(\mu + \lambda)^2}, \quad s \triangleq \...
3
votes
2answers
180 views

Turning arrowheads off

My thinking was that Arrowheads[0] would turn off the arrowheads. ...
4
votes
1answer
139 views

Manipulate Demo Full Screen

Is it possible to create a demo using Manipulate and then open it in a document that can be expanded to full screen?
3
votes
2answers
708 views

Parametric contour plot?

I am trying to plot a contour of a function g(x,y) (in particular, the contour g(x,y)=1) on a different set of axes than (x,y): I want to plot it on (f1(x),f2(y)), where f1 and f2 are (monotone ...
4
votes
1answer
138 views

Can anyone help me to get the solution of this first order ODE?

$\ y'(x)=-\sqrt(y(x)^3)$ with initial condition $\ y(0)=-2$. In fact, this is an example here in page 3-4 ...
1
vote
0answers
68 views

I can't connect all wolfram websites if I use VPN

I can connect wolfram's sites if I connect them directly,but once I connect my vpn,even mathematica can't connect to the internet.And there is no problem to connect other sites.Why does this happen?...
1
vote
0answers
66 views

Align a plot with other rotated plot [duplicate]

i'm plotting two plots one of them is rotated 90º and has no axes labels, so my problem is that when i plot them together in a row the alignment options bottom top align the top to top or bottom to ...
1
vote
1answer
182 views

Mathematica List Selection

I have a list which contains these elements : ...
0
votes
1answer
371 views

Labelling a bar chart with multiple data sets

I'd like to plot a bar chart with two data sets $\{a_1,a_2,\dots,a_n\}$ and $\{b_1,b_2,\dots,b_n\}$ in such a way that the columns appear in the order $\{a_1,b_1,a_2,b_2,\dots,a_n,b_n\}$ and that each ...
1
vote
0answers
138 views

Direction Field for an Ordinary Differential Equation [duplicate]

I have found links for plot the direction field of a differential equation. For example: How can I plot the direction field for a differential equation? And: Plotting the direction field of a ...
4
votes
0answers
82 views

Regarding Evaluated True

Done a bit of reading: Normal[Series[ ]] does not give a normal expression Regarding the Evaluated->True, consider: ...
2
votes
1answer
314 views

i cannot create a standalone executable from an exported Mathematica function

I generated the C code: compute.c ...
8
votes
1answer
414 views

How can I improve speed of code that generates an orbit plot?

I am attempting to generate an orbit for the "time 2 Pi map" of a forced damped pendulum. The example comes from page 57 in the Chaos text by Alligood,Sauer and Yorke, see Figure 2.7. The code ...
0
votes
1answer
104 views

ColorFunction that depends on angle of line

I have a ListLinePlot, and I want the ColorFunction to vary as the angle, so that the color of the whole line depends on its angle from the x-axis. Here is a MWE of what I am doing: ...
0
votes
1answer
60 views

What is the simplest way to obtain function obect of a given function?

Suppose I have a function p of some arguments: p[x_,y_]:= (* something *) Now I with to pass this function as an object to ...
1
vote
1answer
180 views

List(Line)Plot with a big jump

I am trying to plot a joined plot. Some possible ways would be ListPlot with Joined -> True or ...
6
votes
2answers
213 views

Finding out all undocumented values for “Properties” in XxxData[] functions

No, XxxData[] is not a new function in Mathematica 11. I am just using that name for all curated data-related functions. As you know, ...
1
vote
1answer
159 views

How to print non zero elements of the matrix containing zero elements and non-zero elements both?

A matrix with both non-zero and zero elements is given. I want to print only the non-zero elements of the matrix. What is syntax that have to be used for this? matr2 = Table[FortranForm[matrixx[[i, j]...

15 30 50 per page