# All Questions

57,893 questions
14 views

### Label quartile / quantile data

I searched for a WL implementation of the Python Pandas qcut function but could not find one. Anyone aware of an implementation? For the moment I just need quartiles and the assignment of values in ...
17 views

### How to solve this 1st-order linear ODE system

Consider an ODE eigensystem $$ty\,a(y)+[(q+\frac{y+1}{2})+(y\partial_y+\frac{1}{2})]b(y)=\lambda a(y)\\ ty\,b(y)+[(q+\frac{y+1}{2})-(y\partial_y+\frac{1}{2})]a(y)=\lambda b(y)$$ where $q,t$ are (...
13 views

### How to get the events occurred on a list of dates?

I have a list of 100 unix timestamps and I am trying to get all the events occurred on that time. The following code get an abort signal when a has 100 timestamps. Another problem is that when I run ...
33 views

### Draw functions on Plot3D

I have a 2D function $f(x,z)$ which I render with Plot3D. In the plot, on top of the surface, I want to plot 1D functions at $f(0, z)$, $f(100, z)$ and $f(200, z)$. ...
58 views

### How to implement split-complex numbers?

For those who do not know, the split-complex numbers are an analogue to the complex numbers where J is defined such that $J^2=1$ but $J\ne\pm1$, so they are all of the form $a+bJ$. By using ...
21 views

### Wolfram Mathematica 11.3 crashing on either startup or after typing in a notebook

I have been having an issue with my Mathematica 11.3 installation. Often after running a notebook for a long time, my Mathematica will crash suddenly for strange reasons like just typing in the ...
30 views

### Importing large csv files

I'm trying to import a large csv file (around 1.5GB) so I can multiply one of the columns, and plot it against another. There are seven columns in the file when I try and open it in excel, and I need ...
22 views

### Change the attributes of the function Format

I think that the function Format has intrinsic an orderless attribute. So I've tried to create the following function: ...
25 views

### Defining a derivative as a function does not work

I have a fairly complicated function VIcase1L[b_,\[Epsilon]_, d_] := ....... All I wanted to to was to derive it this function with respect to b and define it. ...
13 views

### How can I get an array of very large primes when I don't have a lot of memory?

I would like to perform computations on an array of primes within the range $[2,10^{15}]$. For the moment, I am selecting such an array using the command: ...
20 views

### Issues computing expectation

I am interested in computing a conditional expectation, but not sure what is the best way to do it. All the methods I have used seem to have issues. Let $Y=X_1+X_2$ where $X_1$ and $X_2$ are ...
22 views

### Perform an explicit summation, if possible, over a restricted range of two indices both varying from 0 to infinity

I would like to sum the term ...
25 views

### How to verify if all elements of a list are equal [duplicate]

I have a result in a list form: {1,2,3,4,5,6} How to verify if the elements are equal? If I use Equal doesn't works with a list....
8 views

### ParallelTable fails to finish evaluating after completing computation

I am executing a ParallelTable but the code fails to finish. This is the setup. f is a function. ...
29 views

### Calling a notebook from a different notebook

Basically I have a notebook (let's call it nb1) that when evaluated yields one number when I specify some parameter $\alpha$ (in nb1). I want to call nb1 in a different notebook (nb2) using for ...
83 views

### Creating a function that is a variant of Length

I want to create a new function nLength that applies Lengthin each element from a list automatically. For example: I have a ...
18 views

### Converting Graph3D to Graphics3D

How you do convert a Graph3D (or GraphPlot3D) into Graphics3D? Graphics3D@ButterflyGraph[3] ...
125 views

### How to apply Length in all elements

I want to apply Length in each element from a list. For example: My list is: {1,{2,3},{4,5,6}} How to apply ...
14 views

### Export CAD .STEP files format with Mathematica?

This question is related to following question: questions/130883 which has not been answered yet, because a workaround has been found using an import feature from Autocad. Basically, I want to ...
59 views

In GeoListPlot the locations are supposed to be GeoPosition or Entity objects representing ...
89 views

### Operation acting on arbitrary number of matrices, element-wise

I have a certain number of $N \times M$ matrices:  M_1 = \begin{pmatrix} a_{11} & a_{12} & ... & a_{1M} \\ a_{21} & & & \\ \vdots & & \ddots & \\ a_{N1} & &...
57 views

### About creating my own fuction ArrayQ

I want to create my own function ArrayQ using Mathematica's functions as little as possible. I already have the "new" function that I called ...
19 views

### How to make ListPlot work for Table output on this for {{matrixElement}}?

I am using Table to get values for some expressions (see code below): ...
18 views

### How do I size a Manipulate input field when using Control?

I'm building a Manipulate object and I need to reduce the width of the input fields for improved usability. I've tried everything I can, and I don't seem to be able to get it. Everything points to ...
43 views

### What is the “phone” symbol that appears with the keyboard shortcut “ctrl-g” in mathematica 11.1?

Using ubuntu, and mathematica 11.1, the keyboard shortcut ctrl+g creates a small emoji of an old landline phone (see image). It does not appear in mathematica 10. If I copy it from 11.1 end up with ...
33 views

### Antiparticles in Feynrules Lagrangian

I am trying to implement a simple extension of the SM to Feynrules, generating the Lagrangian in a Mathematica notebook file. I am wondering about the following: Is there a way to explicitly use the ...
32 views

### How to pass a list to APIFunction?

My problem is I have a list of 170 values. To use API function, I had to represent these values by 170 parameters (not the most elegant thing). My question is, can I pass a list to APIFunction, or ...
42 views

### Flight information data

I would like to write a program that automatically checks whether a given flight number is correct and the corresponding departure and arrival times. Is there any function from the Wolfram Language ...
44 views

### How to graph acceleration from an equation given a sample period?

I am unfamiliar with Mathematica and the necessary syntax to approach visualize acceleration over time. I would appreciate some assistance or reference to a starting point on how to go about solving ...
28 views

### How to draw 2D plots into a 3D graph in mathematica? [duplicate]

I want to stack 2D plots into a 3D graph, for example I have a function F=(3x+y(2+5y))/23 of two variables x and y, and want to plot like this need help in mathematica program plz
43 views

### How to resolve the fail when applying a user-defined solver?

The user-defined function pdetoode and pdetoae, developed by @xzczd, is very useful to deal with a PDE system when there is ...
36 views

### How can you define a function with variables and put it equal to a function that is already defined? [on hold]

Lets say you have a function: f = x^2 + y^2 Now I want to define a new function of x and ...
57 views

### Simplifying polynomials [on hold]

I have noticed a strange behaviour in Mathematica regarding simplifying polynomial expressions. Take the following polynomials pol1=3-8s+4s^2 pol2=(2s-1)(2s-3) ...
32 views

Writing: ...
39 views

### Conditional expectation using derived distribution [on hold]

While this question can be solved using some (hand) analysis and standard calculus, I would have thought that the following code would have worked: ...
48 views

### Double Integral to compute conditional expectation

Let $V=X+Y$ where $X$ and $Y$ are independent random variables, both normally distributed with $\mu=0$ and $\sigma=1$. I am interested in computing $E[X \mid V\geq c]$ where $c$ is an arbitrary ...
26 views

There appears to be an option called WindowTitle for the SystemDialogInput, but it does not seem to do anything for me: ...
39 views

### Numerically solving a system of ODEs where the functions are vectorized

I am attempting to solve a system of ODEs where a, b, cv1 and ...
54 views

FindTextualAnswer isn't working for me here: ...
48 views

### How to make a phase diagram (vector plot) using results from NDSolve?

I solved the next differential equations using NDSolve, so I got two solutions ϕ[t] and H[t]....
48 views

### Taylor's theorem approximation [on hold]

I'm struggling to determine an estimate for a function (e^-x) using the taylor theorem and getting a truncation error as well. I've tried using the series function but that doesn't let me apply a=0.
16 views

### top and right FrameLabel not working for ListPlot

Since upgrading to version 11.3 (Linux CentOS7 64b), FrameLabel can only provide the normal labels, to the left and below the plot, for ListPlot, however it works as it should for any other plots. ...
46 views

### Plotting massive amount of data

I have to plot a huge amount of data. I have only one file, I've already imported it. The file contains the following: 48 separate smaller fractions. Every fraction begins with six numbers (which ...
68 views

### Interpreting Mathematica code on black holes

I am trying to understand the code written down on page 7 of this document (code is in Mathematica) I understand pretty much all of the code on the previous page needed to setup the page 7 code (...
404 views

### Sum of list numbers smaller than one goal

I have five values ​​that I would like to add them so that they can be equal to or less than 3000. ...
24 views

### Export of plot depends on kernel

I am trying to export a log-plot to a pdf-file but the logarithmic axis ticks are broken when exporting from my default kernel local. The exported pdf is as ...
56 views

### Creating my own function that mimics KeyFreeQ

I want to create my own function KeyFreeQ using Mathematica's functions as little as possible. For example: I already have my own function ...
45 views

### How can I convert a vector to a matrix? [on hold]

I have an eigen vector, λ1, and I want to convert it to a matrix for use. How can i do this? ...
31 views

### How to plot a line density plot using data file

I am using the following code to generate a density plot using a data file (which has three columns). The first column is X axis and second column is Y axis and the third column is the color. It gives ...
37 views

### DSolve error — fewer dependent variables than equations

I try to solve this equation: And I got an answer: DSolve[k'[t] == s k[t]^a - (n + b) k[t], k[t], t] {{k[t] -> E^(-6 t) C[1]}} But now I try this: ...

15 30 50 per page