All Questions

1
vote
0answers
6 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
16 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
19 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
0
votes
1answer
37 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. ...
1
vote
2answers
46 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 ...
0
votes
0answers
30 views

What's wrong in my code for looping?

Here is my code to draw a graph then harmoniously coloring graph: ...
4
votes
2answers
67 views

Wrong with VisibleSpectrum

...
1
vote
4answers
70 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
27 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 ...
-1
votes
1answer
26 views

Finding the number that gives remainder equal to 0 [on hold]

Hi i'm not english so I'll try to explain this as good as I can . If we have for example 250 : 5 = 50 , remainder 0 let's say I don't know the number i'm going to divide (because it is generated ...
4
votes
3answers
267 views

How to build this grid with less code?

I have the diagonal and both upper and lower triangulars of a grid. ...
1
vote
0answers
16 views

Find GeometricTransform from 3D BSplineSurface to a point cloud

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 ...
3
votes
2answers
46 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
22 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
47 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: ...
0
votes
0answers
9 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
16 views

Change of basis from monomial basis to Chebyshev basis of polynomials

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?
0
votes
0answers
13 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: ...
0
votes
0answers
16 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
27 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 ...
4
votes
0answers
18 views

Syntax information “ArgumentsPattern” for function of function?

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

Changing Default Notebook Window Magnification level

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, ...
3
votes
0answers
46 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
0answers
29 views

Solving PDE with conditions

I am new to Mathematica, so it maybe a silly question. So, I'm trying to solve the following PDE with Mathematica: $u=u(x,y)$ $\partial_x ^2 u-6\partial_x \partial_yu+9\partial_y^2u=x^2+y^2$ ...
0
votes
2answers
48 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: ...
2
votes
2answers
82 views

Calculating a Volume Integral limited by two z planes and a given conical surface [on hold]

I have been given this question to integrate a function over a region, and I have been at it for 6 days now and I can not for the life of me come up with a solution because the integral is way too ...
1
vote
0answers
25 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
67 views

Why is my output equal to my input?

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

Mod[1.2, 0.2] is not equal to zero

I'm new to mathematica but this doesn't seem to make any sence In[1]:=Mod[1.2, 0.2] Out[1]=0.2 Why is it not zero? Edit: This is what I wanted to do: ...
0
votes
1answer
33 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
58 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 ...
0
votes
0answers
30 views

Fourier plot issue [on hold]

I have a problem with this equation: ...
1
vote
0answers
57 views

Volterra integral equation

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

Block matrix and calculate it's inverse

How 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 & \vdots ...
0
votes
3answers
43 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 ...
1
vote
1answer
58 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 ...
-2
votes
0answers
22 views

Question on L'hopital Rule [on hold]

Find 1) limit of ( tanx / secx) when x goes to pi/2 from right 2) limit of (1+×)to the power x when x goes to zero And how ?
0
votes
0answers
30 views

How to combine several graphs in one? [on hold]

If I have table of for example 5 sets of points which form 5 curves, to plot all of them in the same graph I use this: ...
-1
votes
0answers
39 views

How to create my own procedures in mathematica? [on hold]

I need to use some sequence of actions several times in my code. This actions includes cycles and some simple mathematics. Is it possible to create procedure (function) like in languges such as c, to ...
1
vote
0answers
63 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
117 views

Turning arrowheads off

My thinking was that Arrowheads[0] would turn off the arrowheads. ...
4
votes
1answer
84 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?
2
votes
2answers
106 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 ...
3
votes
1answer
79 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
36 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 ...
1
vote
0answers
40 views

Align a plot with other rotated plot

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 ...
0
votes
0answers
67 views

Mathematica List Selection

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

Converting list into Double quote list [on hold]

I am trying to import a spreadsheet of stocks. I have tried to flatten it and a few other functions but noting seems to work. Can someone help me get the double quotes surrounding each stock like in ...
0
votes
0answers
47 views

Solving for a Transfer Matrix

I am currently working on a program that will solve a transfer matrix and extract several elements. Particularly, the transfer matrix is characterized by four elements in a ...
0
votes
1answer
28 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 ...

15 30 50 per page