# All Questions

233 views

### Taking only particular subsets and doing calculations

I have subsets formed from a list using the Subsets command and want to do a particular calculation, lets say subtraction using the ...
615 views

### How to solve a Differential Equation with DSolve with Function Coefficient?

Suppose I have v[x_] = (1.453 Sech[x + 1])^2 + I Sech[x + 1] Tanh[x + 1] And I have to solve the equation: ...
190 views

### List-operations only when restrictions are fulfilled (Part 2)

Consider the following: data={{{3544128000, 80}, {3544732800, 80}, {3545337600, 80}, {3545942400, 80}, {3545942400, 160}, {3546547200, 160}, {3547152000, 0}}}; ...
274 views

### AbsoluteTiming affected by surrounding code

In the process of simplifying code posted for another question, I noticed AbsoluteTiming returned different results for the same code being timed, ...
80 views

### How to speed or help Solve[] when it is stuck?

The code below generates a system of equations that I need to Solve[] for {c[5], c[6], c[7], c[8]} in terms of {c[1], c[2], c[3], c[4]}. ...
130 views

### How do I fit the parameters describing a 3D object so that it best resembles its projection seen by an observer at a particular position?

I have data which are the longitudes (l) and latitudes (b) for the vertices of the edges of a shape as it appears to an observer at a given location (i.e., as it appears on the observer's sky plane). ...
194 views

### How to manage list of list of rules?

Considering we have a list: str = "{1 -> {a -> aa, b -> bb}, 2 -> {2a -> \"{b -> bb}\"}}" Bringing this to expression gives: ...
168 views

### Combining Mandelbrot and Monte Carlo

I'm trying to combine plotting a Mandelbrot set with Monte Carlo randomization to plot an equation using random points for complex number z, for the function $z^3-2z+2=0$. Below is the code I have ...
170 views

### Slow evaluation of NIntegrate when used as a pure function

I asked a perhaps related question here. Here is my code in below. The goal is that to define a function which must be integrated numerically. The function itself first is calculated over different ...
82 views

### How to draw dots at beginning and end of range when plotting [duplicate]

I'm trying to plot a Piecewise function which should look like this: How can I have similiar dots (filled or empty) at beginning and end of range? ...
115 views

### How I create a 'TraditionalForm' expression in which only parts are evaluated?

I have an expression for the form Subscript[W, f[a, b]][c] = ρ^f[a,b]ω[c]ρ^-f[a,b] that I want to render in TraditionalForm ...
53 views

### Changing a Part of a variable within ParallelDo

I want to evaluate nested do as a parallel computations. My formula looks like: ...
150 views

### General function taking general number of arguments

The following is an edit of this post, for which a working solution was provided by John McGee. I have a different function and am not sure how to adapt the solution for it: I want to construct a ...
100 views

### Simulations using alternative initial conditions

With help from some of you guys here in this forum, I have developed the following code, which works perfectly. My questions are: how to automate the simulations with varying initial conditions. In ...
103 views

### Showing an output without square brackets

Suppose that an output is which could be obtained from, for example, D[f[x, y, z], x] / D[h[x, y, z], x] I'm looking for a way to show it without the square ...
59 views

### Implementation of a recursive function [duplicate]

I have been trying to implement a recursive function, but still struggle. Here's what I have written: ...
358 views

### Sum over multiple indices

I would like to be able to enter the following left hand side of an identity. I can write the right hand side (i think) but am not sure about the left. The Left hand side is ...
92 views

### Export to PDF file and use in latex, weird behaviour from using Acrobat

I have put all files here. All pictures are Exported from Mathematica 10.0.1 X64 (win7) using Export["filename.pdf",plotobject]. I first complied the latex file, ...
74 views

I would like to suppress the argument [0, 0, 0, 0] of K in the output of ...
154 views

### Inverse Fourier transform

I am dealing with an inverse Fourier transform of a sampled complex function, $H(\omega)$. I want to obtain a real transformed function $h(t)$, which means that $H(-\omega)=H^{\ast}(\omega)$ has to be ...
109 views

### How to add an extra column to a current matrix (list)? [duplicate]

a = {{-800, 1712}, {-801, 1713}, {-806, 1832}} TableForm[a] b = a[[All, 2]] - Min[a[[All, 2]]] How do I make a new matrix (list) whic looks like this ...
126 views

### How to combine manipulate and eventhandler

I combine manipulate and eventhandler, now I can change the controller when working on eventhandler, but how to change the value in eventhandler when I control the manipulate controller? ...
83 views

### Integrate full derivative

I want mathematica to do Integrate[D[f[x],x], {x,0,t}] and achieve the answer f[t]-f[0]. But Mathematica doesn't intergrate ...
129 views

### using Module in NDSolve

I am trying to solve a set of two wave equations where solution of first equation defines initial conditions for the second one. And I would like to use Module to define those equations as a function ...
114 views

### NDSolve inside Module with local variables

I want to use NDSolve within a Module and output the solution at some times. (Mathematica 10) All works fine with global variables (symbols) ...
85 views

### Series expansion of InterpolatingFunction obtained from NDSolve

I am trying to obtain a series expansion of the numerical solution of a differential equation. I encounter difficulties going beyond first-order expansions which I believe might be due to my inability ...
167 views

### Solving systems of equations

So I have a set of equations like 12 of them but 13 variables. However I would like to find the numerical value of the roots for the maximum value of a particular variable. I don't know how to do that ...
79 views

### FindProcessParameters for Fractional Brownian Motion Returns Error

I have the following data: ...
115 views

### Passing function as argument

I've been mucking around with passing functions as arguments to other functions and via trial and error seem to have something that works. I was wondering if someone could have a quick look at some ...
141 views

187 views

### I want change gamma function form into beta function form

I want to integrate below form ...
Not sure how to phrase this in a concise way, anyway it seems like the function FourierSeries assumes the interval for which to compute the Fourier coefficients of a given function is $[-\pi,\pi]$, ...