0
votes
0answers
10 views

How can i 2d-plot Cobb-Douglas function?

can i plot Cobb-Douglas function in 2D without using ContourPlot? I have this function: u[x1, x2] := Log[x1] + 2*Log[x2]; and now i plot it using: ...
1
vote
0answers
47 views

DeleteDuplicates

After having applied "DeleteDuplicates" to a list of data (15000 rows per 3 columns), when I try to interpolate that list of data it gives me back again: "There are duplicated abscissa points in.." ...
0
votes
0answers
15 views

Is it possible to get the error estimates of predicted values computed by FindMinimum using the Levenberg Marquardt method?

I use the LevenbergMarquardt method of the FindMinimum function to minimize a residual function (mathematical-optimization). This residual function is computed from experimental data and the solution ...
1
vote
0answers
24 views

Noise filtering with PCA

I have a stack of images (usually ca 100) of the same sample. The images have intrinsic variation of the sample, which is my signal, and a lot of statistical noise. I did a principal components ...
0
votes
1answer
37 views

How To extract data to plot it from a log file

i want to extract out the data (number) from 'geometry step' and 'total energy' in form of list to PlotList[] it. this is the Log file data log Abstract the Total ...
2
votes
4answers
97 views

Faking MoleculePlot for compounds where it isn't available

Mathematica's ChemicalData has a lot of useful information, but many compounds only have flat 2D structure diagrams rather than the cool 3D ...
-1
votes
0answers
38 views

How to apply pattern like Alternatives in EuclideanDistance command?

I have a list of list of points coordinate, ...
0
votes
0answers
27 views

How can I bypass the limitations of init.m?

In a series of QA it has been pointed out that init.m suffers of heavy limitations (see as example, Automatically load packages at startup or Why can't I import ...
2
votes
2answers
35 views

How to simplify a differential equation?

Now I get a differential equation like this: (-1 + x) (1 + x)^2 == (2 (1 + x^2) (1 + x^4))/(-2 x (1 + x + x F[x]) + (-1 + x^3) F'[x]) I want to get the standard ...
1
vote
1answer
31 views
2
votes
3answers
98 views

Mathematica Integration Problem

I am new user of Mathematica. Can anybody help me to solve this integration? I really needs your help. Integrate[(1 - (1/(1 + A x^(-ao)))) x, {x, 0, r}] Can ...
3
votes
3answers
114 views

Get the coefficient matrix from a quadratic form

Suppose I have a quadratic form of qf = a x^2 + b y^2 + c z^2 + 2 d x y + 2 e x z + 2 f y z How can I easily to get the symmetric matrix A, such that ...
2
votes
0answers
23 views

Change position of data labels in BarChart3D

What would be the easiest way to manipulate the position of the chart labels in "Grid" layout in a BarChart3D? For example: ...
0
votes
0answers
38 views

Replace every power of $e^{i\theta}$ with $z$ [on hold]

If I have the expression $\frac{1}{13-\frac{5}{2} i \left(e^{-i \theta }-e^{i \theta }\right)}$ and I want to replace each $e^{i\theta}$ with $z$, so that the result is ...
0
votes
0answers
40 views

Plotting function described by other functions!

I want to plot and manipulate my VS function which comes from the other functions above it. So, what should I use in order to draw my function considering that it is described by other functions. I ...
0
votes
0answers
30 views

Check if interpolated function passes through a specified region

Is there an efficient way to check if a curve that was obtained as an Interpolating Function (from solving differential equations numerically) passes through a given region? I am solving for two ...
3
votes
3answers
147 views
1
vote
0answers
15 views

Palette Sizing Options

I am writing a palette to work with units on Mathematica 9, using just PasteButtons, and have a Button map that works as I want it to, but the formatting of the palette itself is giving me issues. I ...
1
vote
4answers
85 views

ListPlot with colors

Let's create some sample data n = 100; d00 = Table[{RandomReal[{-1, 1}], RandomReal[{-4, 4}], RandomReal[{-1, 1}]}, {i, 1, n}]; Now I want the following: create ...
2
votes
1answer
47 views

Solving a big number of non linear equations

I have three trapezoids. The first sharing its upper side (I will call b_{i+1} in the code) with the second, the third sharing its lower side with the upper side of the second. All shared sides are ...
1
vote
1answer
51 views
2
votes
0answers
36 views

ColorBars or PlotLegends for ElementMeshSurfacePlot3D

I want to produce a colorbar legend to the output from ElementMeshSurfacePlot3D (Mathematica 10). The pde was solved using NDSolveValue (FEM pdesolution is the resulting interpolating function) over a ...
0
votes
0answers
30 views

How to speed up Solve command in Mathematica 8.0?

I have two complicated mathematical functions $f(s)$ and $g(M)$ that are complicated functions of $s$ and $M$ respectively. I would like to solve the equation $f(s)=g(M)$ in order to plot $s$ vs. $M$. ...
0
votes
1answer
31 views

Export list entries under a certain condition without using loops

I have a big list that contains many 3D- chains (set of points) and for each of them a polynomial. So the structure of my list is for example ...
1
vote
0answers
60 views

Distinguish hashtag # operator when using multiple functions

I would like to do this list = Append[list[[#]],Map[list2[[1, #]] & , list[[#, 4]], {2}]] & /@ Range[Length[list]]; But I would like to substitute ...
-1
votes
0answers
54 views

How to find a root for an integral equation?

I try to find numerical solution $E_f$ to satisfy the following equation: ...
0
votes
0answers
53 views

Trying to create a model and manipulate plot

I have been trying to learn mathematica to implement financial models in it. However, I am still very inexperienced in this :) Currently, I have what is presented below but I can't figure out why it ...
7
votes
2answers
336 views

How to measure the slit size from given image using mathematica?

I want to measure the size of the optical slit from the microscope image. Here is the image. The dimension of image data is {1300,1030} and the real pixel size is 6.7 micron. But the problem is ...
0
votes
1answer
44 views

NDSolve with coupled ODE's and unknown singularities

I have two coupled ODEs that I am trying to solve numerically. It appears that there is a singularity in the solution to the equations which I am unsure how to get past. Both functions $\alpha$ and ...
2
votes
1answer
38 views

Translate Tick Marks

The code below creates a StreamPlot for a nonlinear system of first-order ODEs: $\dot{x}=y,\dot{y}=x+\tfrac{1}{4}x^{2}$ I have created a simple zoom slider that expands the region about the critical ...
1
vote
3answers
97 views

Implicitly inverting a function from numerical solution

I have the following piecewise continuous function: ...
2
votes
2answers
58 views

Integral invoving product of Whittaker functions

I'm trying to evaluate the integral $$ \int W_{0,a}(x)\,W_{1,b}(x)\,\frac{dx}{x}, $$ where $W$ denotes the Whittaker $W$ function, and $a,b\in[0,1/2]$. Using the Whittaker differential equations that ...
0
votes
1answer
21 views

How do you collect trigonometric functions in a polynomial?

I have an expression that has various forms of Sin and Cos and I want to collect them specifically so that I can make substitutions. As you can see I cannot figure out how to separate i Cos[theta] ...
-7
votes
0answers
13 views

Help in finding Probability distribution table [on hold]

A discrete random variable X has probability function given by f(x)= k x^3 for x=1,2,3,4. Then find a. Value of k b. Probability at x=2 c. Mean of X d. Variance of X e. Probability distribution ...
2
votes
3answers
113 views

How to obtain this expression in terms of real functions

I know that this expression (2 (ArcCot[E^(-((I ϕ)/2)) r] + ArcCot[E^((I ϕ)/2) r]))/π is real, because is the sum of a real series, in particular: ...
1
vote
1answer
34 views

Plotting a data of protein diffusion trajectory [on hold]

I have a set of data points of protein diffusion in x-y plane. They are sequential in time i.e, recorded at regular intervals of 20ms. Now, I need to plot a line plot in 2 dimensions, which connects ...
-4
votes
1answer
36 views

Plot values of parameter

Noob-alert: I have a Mathematica notebook with a lot of engineering formulas and several inputs. I want to plot one of these formulas as a function of one of the inputs. The formula in question is ...
-2
votes
0answers
14 views

how to calculate point after rotation [migrated]

I have basic square with width 36 (red) I'm rotating square by XYZ degrees ... in example there is 45 degrees black square is rotated by point 0,0 green square is rotated by center of sqare 18,18 ...
0
votes
1answer
33 views

Importing data from a MATLAB file to MATHEMATICA

I have been trying to import some matrices from MATLAB to MATHEMATICA. The matrices are the output after I run the MATLAB file. I had saved that file in .MAT format and trying to import it in ...
1
vote
2answers
64 views

How to Combine 3D graphics

I'm trying to put this solid S1 = RegionPlot3D[z - 50 <= -2 x^2 - 2 y^2, {x, -5, 5}, {y, -5, 5}, {z, 0, 50}] on top of this one ...
-2
votes
0answers
28 views

How we get the ANOVA and Parameter Tables in Mathematica of the Ridge regression like the linear model

Dear how we find the ANOVA and Parameter Tables of the ridge regression like the linear model on randomly generated independent and dependent variables.
2
votes
1answer
19 views

Definition of TraditionalForm

This is a followup of "How to check for Mathematica’s definition of XY?, a question by uli on how to access the definition of a built-in symbol. That question focused on ...
-1
votes
0answers
28 views

How to prove it? [on hold]

Under $P$, the random variable X has a double exponential distribution with positive constants, $r_1$,$r_2$,$p$,$q$ such that $p+q=1$, with the probability distribution function given as: ...
1
vote
4answers
59 views

Symbolic calculation on roots of polynomial

Given a polynomial like $x^3 + a_2 x^2 + a_1 x + a_0$ with roots $r_i$, I would like to symbolically compute the coefficients of a polynomial whose roots are $r_i^3 + r_i + 1$. How can I do this in ...
0
votes
1answer
21 views

Histogram plot for fixed class interval

Age Size of Kidney 0-20 8.5 20-40 9.2 40-60 10.4 60-80 9.3 80-100 8.9 The above data gives the average size of the kidney for the people of age ...
1
vote
0answers
40 views

Function inversion

I have an expression of this kind ...
0
votes
1answer
40 views

I would like to be able to get this integral evaluation to show up in terms of variables

this is very much a beginner question; I was hoping that someone may be able to take a look at this code and tell me why it outputs all of these crazy numbers instead of just the variables specified ...
0
votes
1answer
47 views

Solving equations with change of variables is not working?

I have the following expression $$\text{expr=}\int_0^{\infty}\frac{C\exp(-\frac{mx^2}{\Omega})}{\Omega^m}\frac{1}{\sqrt{2\pi}\lambda\Omega}\exp\left(-\frac{(\ln ...
0
votes
2answers
35 views

TexForm List with Rule

I'm having some difficulty TexForming a list. The output is not what I want. The following is a minimum working example. I've tried every combination of Flatten, ArrayReshape, and Partition to no ...
-4
votes
0answers
28 views

Need help to plot Graphic [on hold]

Please help me to plot this polynom,

15 30 50 per page