# All Questions

66,239 questions
Filter by
Sorted by
Tagged with
68 views

### Fixed point of a vector

It seems to me that FixedPoint is designed to work with a particular value, but what if we want it to operate on a vector instead? I start with an nxn matrix mat and the function: ...
23 views

### Clear assigned y'[x] from memory [duplicate]

If I, by mistake, write Mathematica assigns $y'(x)=y(x)/5$ and I don't know how to clear that from memory (I had to restart Mathematica). ...
38 views

### Clearing ::usage message

After having assigned the usage message to f using ClearAll@f; f::usage=ToString@RandomInteger@{10^10,10^11}; the ...
80 views

### Assert no unevaluated function applications

Background Suppose I have begun a fresh kernel session, and I have defined the following function alone: F[x_, y_] := x + y; One expected use of ...
53 views

### Updating the name of nb file after closing/running it

Suppose I have a nb file named as 240119.nb [date of today]. Now If tomorrow I open it and do something, then upon closing it, It should be renamed automatically as ...
130 views

### How to modify a string of symbols based on the positions of $1$'s in a list of Booleans?

Given a list of Booleans: exampleInput = {1, 1, 0, 1, 0, 0, 1, 0}; and given the string: ...
107 views

I am trying to understand how to sort by multiple columns in Mathematica. Here is a simple data set consisting of results of sports matches. Each element represents a game, and contains fields for ...
101 views

### How can I decompose polynomials in a certain way?

I' ve learned that the following examples can be used to decompose a factor in this way ...
43 views

### Persistence diagram

Is there an easy way to get a persistence diagram of given planar points? For example the following points: ...
93 views

### how can I calculate $a_{n+3}=a_n+a_{n+1}+a_{n+2}$?

recently I need to calculate this: $a(n+1)=((a(n-2)+a(n-1)+a(n)) \bmod 10000)$ and get $a(20000000)$ (for example). I know RecurrenceTable,but ...
38 views

### How can I give different colors to each ListLinePlot combined with Show[]

I tried to assign different colors for each ListLinePlot combined with Show, but none of the things I tried with ...
40 views

### How do I restrict the domain over which an equation is solved? [closed]

I tried to use the Solve function to find all solutions to $\sin x = \cos(2x)$ in the interval [0, 2π). I evaluated ...
45 views

### Function returns weird value [closed]

When I evaluate a self-defined function ...
335 views

### How can I get all 4 × 4 submatrices of an n × n matrix?

I have a square matrix, I need to extract all possible combinations of 4 × 4 submatrices, where $n > 4$. For example in the case of a 6 × 6 matrix, there are 15 4 × 4 submatrices. I need the list ...
86 views

### Using Map to extract elements of a list

I am given this problem. ...
37 views

### Mathematica Plot failed to visualize very acute changes [closed]

I am plotting a variable evolution with the results calculated by NDSolve. It reduced from 1.0 to 0.9 in the first 0.0001 seconds, while I want to plot this variable from 0 to 800 seconds. However, ...
30 views

28 views

### How can I make plasma colorfunction for my density plot [duplicate]

I want to create a density plot in mathemtica and I want to use "Plasma" colormap which is given here (like Yellow corresponds to 0 and Purple corresponds to 1) https://image.slidesharecdn.com/...
39 views

### Understanding and solving a problem with FindFit

I have a set of data which I give here ...
32 views

### What's the use of TagSet [duplicate]

I see this function definition in the file(galois.m), but I don't know how it works. ...
54 views

### Manipulate two graphs with one parameter

This question is related to a previous question Create a slider to illustrate Fubini theorem. Thank to the help of @kglr, now I can create sliders to control the slice. ...
75 views

### Usage and meaning of “ProbabilityHistogram”

When doing a classification one can determine the ClassifierMeasurements to get Information about the classifier. I now wanted to get a histogram of the computed probabilities for a classifier. Maybe ...
29 views

### How to modify some parts of a contour-plot?

I am using this ContourPlot ...
45 views

### Plotting incorrectly [closed]

When I write: Plot[E^x-3x, {x, -10, 10}] I have this as an output: However, the graph should look like this: Why is there this discrepancy?
156 views

### Where to get the detailed code of MMA for grid mesh

I know DelaunayMesh can triangulate the specified area, but I can't see the code and partition idea of this built-in function. I want to know how to get the source ...
46 views

### WordCloud Not Enough Memory Available Error

I'm having issues with WordCloud giving me the error Not enough memory available to compute the word cloud. This happens even on ...
67 views

### NDSolve issue, potential singularity or stiff system

I have the following parameters, equations, and NDSolve solution set up as such: ...
111 views

### Can bounding box coordinates be retrieved for words in a WordCloud?

The documentation shows how Mathematica can attach behavior to words in WordClouds, but I couldn't find anything on retrieving the list of bounding box coordinates. Is it available to the user? __ I'...
79 views

### Create a slider to illustrate Fubini theorem

I would like to illustrate the Fubini theorem in Calculus like the following picture (taken from this page): This is what I tried: ...
49 views

### Problems with a multidimensional principal value numerical integration

Multidimensional Principal Value Computation Hi all, I've been trying to work out a type of integral for... months? Years? I've scoured the documentation here, and tried several of the tips in other ...
35 views

### How to compute Max function of the following form:

I knew that in Mathematica, the "Max" function yields the largest element of any of the lists, for example, Max[x,y,z,....]. How do I implement this function with Mathematica? and what does this ...
51 views

### Vertically resize grid item to fill row height

I am trying to find a way to have an item in a grid cell that always fill the available vertical space enforced by the remaining items (without enforcing any row height itself). One of my (many) ...