# All Questions

63,452 questions
Filter by
Sorted by
Tagged with
15 views

### Is it possible to plot a function's value along a curve using different color?

I have a curve in 3D space which is green curve in the following picutre The code for generating the curve is as follows: ...
34 views

### Combining graphics twice

I have a for loop that produces a few line plots. After it is produced, it is appended together, and I'm using the "Show" command to combine the plots together. As shown in the example code below: <...
23 views

### Compile string cases into list

I have a html formatted string: ...
44 views

### Drawing line in notebook with Mathematica command

I have a for loop that makes plots iteratively, in between the plots, I would like to draw a line in the notebook. Is there a command that is the equivalent of doing this: https://reference.wolfram....
26 views

### What are the differences between Nonlinear ModelFit and GeneralizedLinearModelFit, and how to get MLE out of each?

I would like to know the practical differences and implications between NonlinearModelFit and GeneralizedLinearModelFit. As I ...
36 views

### Writing to ElasticSearch

Could someone kindly direct me to suitable documentation, Wolfram or otherwise, to connect Mathematica to an ElasticSearch instance. I don't need anything complicated just sufficient to write a record ...
19 views

### Subtracting one list from another nested list

I have a nested list and I want to subtract from that list based on elements of another list, where each element of each nest subtracts the other list. For example, getting from A and B to C A = {{...
40 views

### frame tick label

I am making a framed plot. I want to remove some of the tick labels but display all the ticks. For example, I want {-1,0,1} as the the tick labels on the y axis but want to display all the ticks ...
27 views

### Facing error while solving a determinants with the use of NSolve inside module

I have written a small program to find the natural frequencies of some system using an energy approach. v1 and t1 are the potentials and kinetic energy of the beam. v2 and t2 are the potentials and ...
41 views

### Replacing elements of a list

I have a list with n occurrences of a certain element. I have a second list with Length[lis2] = n I would like to replace the nth occurrence of the certain ...
52 views

### How to solve set of linear differential equation in Mathematica?

I have a set of linear differential equations and are written in this format [X']=[Y]-[R] where [P][Y]=[Q] My actual P matrix size is of 20x20 and Q is of 20x1 and Y is of 20x1. I have written this ...
89 views

### Why would Evaluate[] in Plot give me warning about precision?

I have a code:- Plot[Evaluate@PDF[NormalDistribution[1.6, 0.2], x], {x, -6, 6}] And then I got the warning: ...
35 views

### An Elementary Introduction - Problem 22.13 VertexLabels [duplicate]

Problem 22.13 Make raster images of the letters of the alphabet at size 20, then make a graph of the 2 nearest neighbors of each one. My solution ...
48 views

### FindMinimum where variables are Integers

I wish to find the minimum of a function where the variables are integers. Here is a simple minimum working example (my actual function is much more complicated). ...
44 views

### Better fit for points with exaggerated deviations

I used the InterpolatingPolynomial function to get a polynomial that meets my points. But I noticed that there is a deviation in the final intervals. ...
117 views

### Wrong result by FindRoot

Slight background: I am trying to find the coexistence reduced pressure ($p_r$) of a Van der Waals fluid at a reduced temperature of 0.85, this requires finding the solution to the following system of ...
112 views

### Transforming 2D points on to a regular grid or lattice

I have a set of points in 2D generated by doing a DimensionReduce on a list of colors: ...
32 views

### WSTP from Wolfram mathematica to nodejs [on hold]

Can someone please help me how to connect from Wolfram Mathematica to Nodejs through WSTP?
43 views

### Code not working when I'm breaking it up into different lines

The following code works perfectly For[i=1,i<4,i++,Print[i]] However, when I break this into different lines, it stops working. Moreover, the braces appear to ...
46 views

### Provide a list of colours for the points of ListPlot

I want to colour the points in a ListPlot with a list of colours, i.e. something like ...
47 views

### Methods for ListPlot3D

In the documentation for ListPlot3D we see that there is the option Method, but which methods are avalaible? I cannot find a documentation page for it. If that is ...
30 views

### Convert a dateobject to list

Im trying to extract a list of times from a list of Dates from the Sunrise function ...
30 views

### what is the difference between /. and /; in mathematica? [duplicate]

What is the difference between /. and /; in Wolfram Mathematica How would you apply them both and what situations are each of them appropriate to use?
133 views

### Canonical ordering of days of week

The entities representing the days of the week sort alphabetically: ...
35 views

### How to return JSON from APIFunction without string encapsulation?

I am trying to get an APIFunction to send valid JSON. This is my demo function. ...
46 views

28 views

### Simplify a series expansion including trigonometric expressions

I have the expression ...
59 views

### How to shorten the length of the tangent line

I have all the equations down to manipulate the tangent line on the graph... but the tangent line is too long, what would be the best way to shorten it? ...
56 views

### How to delete the matrices which contain specific elements

I have a list which contains some matrices. Some of the matrices contain Overflow[] elements. I want to delete these matrices. ...
28 views

...
35 views

### How can I fit two out of phase data sets to an envelope?

My situation is similar to having a Cos and Sin functions that would combine to the profile of the envelope but the envelope is offset horizontally by some dt. It would be something like aCos(t+dt)+ ...
38 views

### How do you find the number that has the most different writings from a list? [on hold]

I answered part 1 but need help in part 2 and 3. Please help..
26 views

### Replacing factors that are only dependent on a single specific variable

I have expressions with terms that are products of factors. Some of the factors are expressions that depend on a single specific variable. I would like to replace those factors with constants and ...
43 views

### How can I find the minimum and maximum output of a function and specify the valid ranges and steping of each variable?

I am a software developer, and it has been far too long since the last time I've needed to do any math this complicated. I've forgotten a lot of the proper terminology, which has made finding answers ...
31 views

### Integrate Twice over Symbolic Interval [on hold]

I would like to solve: $$\int _0^1\int _y^11dxdy$$ In one function call to Integrate[]. However, evaulating Integrate[1, {x, y, 1}, {y, 0, 1}] (*1-y*) Gives ...