All Questions

Filter by
Sorted by
Tagged with
2
votes
0answers
37 views
3
votes
1answer
67 views

How to generate blobs of a given circularity?

I'm trying to generate some "imaginary" geographic regions (think of it as islands, for instance), by generating random blobs/blots. Currently, I'm using Szabloc's blotc[] function. However, ...
3
votes
1answer
114 views

How can I improve the quality of shape created by Graphics3D?

I created this shape using Graphics3D and then Export as pdf, but the quality is not homogenous where in some sphere there are ...
3
votes
2answers
74 views

ContourPlot for a certain value

Consider this example: f[x_] := -I*2*x + 3*x^2 which is a complex function defined on a complex plane $x=x_r+ix_i$ It is convenient to plot the contour of its real ...
3
votes
2answers
101 views

Plotting a Set of Three Points with Histogram3D

I would like to know whether I can use Histogram3D to plot a set of points with three given values. I want to plot the values {0, 0, 0.01}, {0, 1, 0.1}, {1, 0, 0.02}...
0
votes
0answers
37 views

Is it possible to find a solution to this equation, reducing it to the Fredholm equation? [migrated]

To continue the questions: https://math.stackexchange.com/questions/3743374/approximation-of-the-convolution-operator?noredirect=1#comment7697800_3743374 https://math.stackexchange.com/questions/...
2
votes
1answer
65 views

Exporting Data to Excel, (specific sheet, and specific starting cell)

I have this code, which works properly: (I know you do not have the excess to my file mydata.xlsx, but that is not a problem, I believe. ...
0
votes
1answer
40 views

How to solve all the solutions of this restricted system of equations?

The system of equations is as follows: ...
2
votes
1answer
70 views

Partial fraction decomposition of LTI system's frequency response

I want to perform a partial fraction decomposition of a LTI system's frequency response, and I want it to look like this: $$H(j\omega) = \frac 1 {5 + 2j\omega + (j\omega)^2} = \frac A {\alpha + j\...
0
votes
2answers
55 views

Can I confine the codomain when drawing plot?

I want to confine the codomain of my plot. For example, I want to draw y=f(x) only when 3x<y<7x+3. If not, want to draw y=0. Is it possible in Mathematica plot?
1
vote
1answer
52 views

Formatted/modified Mathematica command

I know there is a way of making your own commands that outputs your desired information but I'm not sure how to do this. How do you format/modify/make your own command that outputs what you want. E.g. ...
-2
votes
1answer
31 views

I want to give different colors to functions in 3D Plotting, [closed]

I want to give different colors to functions in a 3D plot. For example, in the following statement, what must be included for doing so? ...
1
vote
1answer
74 views

How to calculate the double integral of the integral area related to the parameter

I know that the Integrate function of MMA can compute double integrals. Integrate[x*y, {x, y} ∈ Disk[]] Now I want to use MMA ...
2
votes
2answers
85 views

How to create a matrix with specific element subscripts and input subscripts into function as arguments

I'd like to create a matrix with specific elements subscripts. Matrix is like below. This matrix is sized at M*M and subscripts are indexed by ...
3
votes
1answer
90 views

Problem with NDSolveValue : “The function value {$Failed} is not a list of numbers with \ dimensions…”

I was having fun modifying a code given to me as an answer to a previous problem here, courtesy of user Alex Trounev (Thank you again), when I encountered a certain error which I had never seen before....
3
votes
2answers
159 views

Solving the Shifted Neutral Axis Problem

Problem Description: In solving the "Shifted Neutral Axis" method for the stress distribution of a vertical steel vessel supported on a concrete foundation, we can derive the following ...
1
vote
0answers
27 views

DSolve couldnot give correct solution or full simplify couldnot simplify correctly [closed]

I am using Mathematica 12.1.1 and solved the second order differential equation: DSolve[y''[x] - 3 y'[x] + 2 y[x] == 2 x^2 + 2 x*e^x, y[x], x] ... and it gave a ...
5
votes
2answers
222 views

Basic questions on matrix multiplication

I'd like to implemente a matrix multiplication among three matrices sized at 1*256, 256*256 and ...
10
votes
1answer
391 views

Writing compiled functions as fast as Python's Numba

I want to write some code to simulate a damped oscillator that is just as fast as code written using Numba's @njit decorator. I've written the mathematica code and ...
0
votes
0answers
87 views

Plotting a complex integral function [duplicate]

Can anybody help me to plot the T1 and T2, please? The problem is that the integral part becomes so huge or indeterminate at ...
3
votes
0answers
70 views

Vector arrow notation in Mathematica

I want a fast way to type vectors in Text boxes like this: $\vec a$ I can do this manually with ctrl+7+"-> " which creates this ...
1
vote
1answer
76 views

Plot Black Body Radiation

This is the version of Planck's Equation I am unable to Plot: ...
0
votes
1answer
59 views

Estimate limit of sequence

The following sequence may have two limits, depending on the parity of $n$ as shown here: $$a_n=(1-\frac{1}{2!})^{(\frac{1}{2!}-\frac{1}{3!})^{\ldots^{(\frac{1}{n!}-\frac{1}{(n+1)!})}}}$$ I have tried ...
0
votes
0answers
14 views

How do I combine evaluated expressions with unevaluated expressions

I want this function PrintEvalExpr[Sin[Pi/2]] Which outputs Sin[Pi/2] == 1 I can either not evaluate, or evaluate but not at ...
1
vote
0answers
47 views

Precedence of @@ vs /@ [closed]

How do I find what I think is called the "precedence" of a given operator. That is, for the following code: ...
3
votes
3answers
108 views

Find rules for the similar “Conway's Game of Life”, and initial input on an 11x11 torus board. Descripted on the “Puzzel Chalenge IBM May”2020"

I solved on May 2020 this using mma . I am aware of this command - Cellular automata. But I can't use it on this challenge, because there's no concept of "Torus" in the CellularAutomaton . ...
1
vote
0answers
30 views

Speed up Multidimensional numerical integration

I have the following 9-D integral, where the domain of integration is a nine-dimensional hypercube of unit length. The problem is that Mathematica takes too long to evaluate this. Is there any ...
0
votes
0answers
25 views

Correlated random variables

Assume we have a random variable $X(t)$ that changes as a function of time satisfying a correlation $\left\langle X(0) X(\tau) \right\rangle=e^{-\tau/\tau_c}$. Is Mathematica able to generate random ...
3
votes
2answers
109 views

Graph of Laplace equation

I have solved the following Laplace equation ...
0
votes
2answers
50 views

Is it possible to interrupt a computation and give partial results?

Is it possible to interrupt a computation and Mathematica shows the result obtained so far? Or alternatively the program starts a new computation (in my case very long lists) and the program ends ...
1
vote
1answer
30 views

Optimal way of performing a high-dimensional numerical integral of a sharped function

I am trying to solve the following numerical integral ...
0
votes
0answers
28 views

Restricting the range of values in a recursive function

Hello I am relatively new to Mathematica and I have a problem regarding my model. I have the following function: ...
1
vote
0answers
26 views

Thread::tdlen: Objects of unequal length in {{a,b,e},{c,d,f}} {x,y,z} cannot be combined

When I do the Times operation among list like this {{a, b, e}, {c, d, f}}*{x, y, z}, the error message is given as Thread::tdlen: Objects of unequal length in ...
1
vote
0answers
17 views

Question about AsymptoticEqual[nChebyshevPsi[x], x, x -> Infinity]

Given the partial sum function nChebyshevPsi[x_] := Sum[MangoldtLambda[y], {y, x}] I would like a True response from ...
2
votes
1answer
72 views

How to generate a set of orthogonal polynomials with a special weight function

Regarding to $e^{-ax-bx^2}$ as the weight function , how can I generate a set of orthogonal polynomials? I just know the Orthogonalize command in Mathematica which ...
2
votes
0answers
36 views

Define quaternions by properties instead of coordinates

I'd like to manipulate an expression of quaternions and only use the following properties ...
3
votes
0answers
56 views

Convolution using the Laplace integral transform of certain functions

I am trying to convolve two functions: $f(t) = e^{- t}$ $g(t) = e^{-(e^{-t})^2}$ $(f*g)(t) = \int_{0}^{t} f(t-\tau)g(\tau) d\tau = \int_{0}^{t} e^{-(t-\tau)} e^{-(e^{-\tau})^2} d\tau$ Using the ...
12
votes
2answers
782 views

How to solve the Monty Hall problem?

Problem For purely recreational purposes I would like to solve the Monty Hall problem with Mathematica using the function Probability (dedicated to the calculation ...
0
votes
0answers
71 views

How to calculate and plot the joint distribution probability density function of independent variables

Knowing that X and Y are independent of each other and follow the standard normal distribution, I want to know how to find and ...
4
votes
1answer
82 views

Merge vertexes that are close together in MorphologicalGraph

Suppose I have a image and I take its MorphologicalGraph by using the following code: ...
1
vote
0answers
38 views

How to generate conditionals programmatically?

I need to generate conditionals (||, &&, etc) from a list conditionList that I don't know beforehand how many/which elements will it contain. For simplicity,...
0
votes
0answers
28 views

Plot of simple system of linear equation only draws axis but not the plot of equations [closed]

I can plot some of the most challenging math functions using various mathematica graphics and plotting schemes but plotting some of the simplest math functions seem to elude me. I programmed a helper ...
0
votes
1answer
40 views

How to speed up the drawing speed of the probability density function of Z=XY [closed]

We already know that X and Y are independent of each other and follow the standard normal distribution. I refer to this article ...
1
vote
0answers
39 views

creating uppertriangularized matrix

I am trying to create an uppertriangularized matrix of arbitrary size,max of the form {{1,2,3,4,5},{0,1,2,3,4},{0,0,1,2,3},{0,0,0,1,2},{0,0,0,0,1}} using the code ...
0
votes
1answer
45 views

How do I write a tooltip for this list of cities?

...
-1
votes
0answers
39 views
2
votes
3answers
53 views

Performing iterated integrals

I would like to define a function $f_n(x)$ and plot it with Manipulate. The function is defined by $$ f_{n+1}(x)=\frac{1}{\int_0^1(f_n(x'))^2dx'}\left(\int_0^xf_n(x'...
0
votes
0answers
26 views

Integral variable substitution

I have a problem which I do not understand why my solution doesn't work. Here is the setup: I integrate the function func = Integrate[(z*p),{z,0,1},{p,0,1}] = 1/4 ...
2
votes
1answer
62 views

Finding points located in a specific locations of a 3D objects

I have the following list of points in 3D and would like to find the points which are located on the lower edge of the object and on (or closest distance to) the X-Y or Y-Z plane of the symmetry. (...
2
votes
0answers
33 views

Should behavior of Cube[] and Cubeoid[] be the same in these cases?

While attempting to export a symbol with head Region (or Graphics3D) as an OBJ file, I run in to problems using Cube[] that are not readily apparent with ...

15 30 50 per page
1
4 5
6
7 8
1415