All Questions

64,142 questions
Filter by
Sorted by
Tagged with
3 views

Axes label outside plot without Frame

I'd like to draw a plot with the $x$ and $y$ axes labeled outside the plot and along the axes (with $y$ axis rotated)--not at the end of each axis--as in this Matlab plot. Moreover, I do not want to ...
8 views

How do I color edges on a graph using a pattern?

I have the following code, an attempt to color the even branches of a tree... but it’s not working correctly: ...
11 views

How to use assumptions without Simplify[]?

According to this simple example program, the assumptions evaluated only with the Simplify[] function call. However, I wouldn't like to use Simplify[] because it can be very slow with longer ...
16 views

Assign Values from Array to Array

I am trying to simply do the following cVec = {a,b,c,d} From another expression, I obtain another vector, say, ...
25 views

Finding Fourier transform of a quantity v/s theta (0 to 360 degrees)

I have a physical quantity (experimentally measured) lets say T whose variation I have measured with angle (theta in degrees). I want to find out the Fourier components of this quantity with respect ...
22 views

FindMaximum error (not a real number)

For the code below, I get several error messages once I click the "Enable Dynamics" button. However, once I run the code, the output works fine, so, if that is all I wished to do, I would just live ...
20 views

Compiling a function containing Apply

Well, the following function fun1 will be used thousands times (a single argument among these thousands one is called arg in the following) . Speeding is therefore critical for my code (KenKen ...
38 views

System of equations

Can you please help me to solve and check true or false this system of equations ...
14 views

25 views

Plotting 3-d function using Evaluate and Table

I want to plot $z(F, x, \lambda)$ where I fix a few values of $F$ and $\lambda$ and see how it varies with $x$. With 2-d functions, I could vary the second parameter easily using a combination of <...
15 views

22 views

I am having trouble with the Show[] section of this code

Question: I am unsure how to graph the interpolated graph with the regular graph on the interval [1,4]. Not even the Show line works about im pretty sure its written correctly. Clear["Global`*"] f[...
47 views

How to get Nintegrate of multi-dimensional oscillatory function to converge?

So I have the following integral I wish to compute. The constants required are defined as: ...
64 views

listing matrices with some special constraint

I would like to first obtain the list of all possible 4 x 4 matrices from the followings ...
23 views

Manipulate and CloudDeploy [on hold]

It is easy to specify the initial position for the slider in Manipulate, as pointed out in the answer to this question. However, when I wrap a ...
19 views

Slide show numbers show 0

In one of my "Classic" slideshows, the numbering is corrupted. When new slides are inserted, they show up as slide number 0 (several of them), while the originals retain their numbers. Is there a way ...
33 views

FindInstance confused by CoprimeQ

For some reason when I type FindInstance[a + b == c && CoprimeQ[a, b, c] == True, {a, b, c}, Integers] Mathematica just immediately returns my input as ...
27 views

29 views

Prove that of two discrete random variables X and Y are independent [on hold]

Prove that of two discrete random variables X and Y are independent, then H(X|Y) = H(X).
39 views

How can we calculate the probability for different events [on hold]

For example, You send out three messages for help: a smoke signal that has probability 0.1 of being seen a message in a bottle that has probability 0.2 of being found a carrier pigeon that has ...
28 views

How to restore broken Automatic cell grouping behavior?

By default output cells are grouped with the input cell from which they are generated (note the nested cell brackets on the right): Sometimes it is desirable to group manually input cell with ...