Mathematica

Mathematica

• All Sites
• All Meta Sites

## how to calculate average of degree minute and seconds

i trying to calculate average of degree minute and seconds values please help me formula of average example 31°12’12’’ 31°13’12’’ 31°11’12’’ i want average value of these three values thanks in ...

1 answers | 3 hours ago by Ganeshp on superuser.com

## What is the most precise way of including a Mathematica code in a LaTeX document?

I have tried to insert my Mathematica notebook into LaTeX by converting it as a PDF file and then using \includepdf[pages=1-4]{blablabla.pdf}. However, there are now two problems I faced: This code ...

## Mathematica won't find SerialIO package

I'm following a guide from The Mathematica Journal that describes how to use Mathematica with the Lego Mindstorms NXT. I have some trouble getting started and got stuck with the SerialIO package. I ...

## How to apply a matrix identity to a matrix expression in Mathematica or SymPy?

For example, I have a matrix expression $(A+BCD)^{−1}$ and hope to apply Sherman-Morrison-Woodbury formula to it. It's quite tedious to expand the expression by hand. Is there a convenient way to do ...

## How to apply a matrix identity to a matrix expression in Mathematica or SymPy?

For example, I have a matrix expression $(A+BCD)^{-1}$ and hope to apply Sherman-Morrison-Woodbury formula to it. It's quite tedious to expand the expression by hand. Is there a convenient way to do ...

## how to use Mathematica functions in Python programs

I was searching on how to use Mathematica functions in Python programs that's when I found this link Now I have another problem: I have an 2D array in my python code that I want to pass it to the ...

## Solving a non-linear equation in Mathematica with many variables

I have a beautiful equation, where I am trying to compute for R2. I am using Mathematica. So far every single time that I have tried to use Solve[] or Reduce [] the computation takes forever. I hope ...

## Solving differential equations with Wolfram Mathematica

So I saw this differential equations in my textbook $$\frac{{{d^4}\omega }}{{d{x^4}}} + 4{\lambda ^4}\omega = 0$$ and I figured why not solve it with majestic Wolfram Mathematica. So I wrote this ...

## Mathematica's random number generator deviating from binomial probability?

So, let's say you flip a coin 10 times, and call that 1 "event". If you run, 1,000,000 of these "events", what is the proportion of events that have heads between 0.4 and 0.6? Binomial probability ...

## Logarithmic Plot

Consider the following : daList={{1., 588.956}, {2.15443, 581.347}, {4.64159, 573.648}, {10.,560.676}, {21.5443, 552.881}, {46.4159, 547.851}, {100.,544.908}, {215.443, 543.407}, ...

2 answers | Nov 13 at 23:32 by 500 on stackoverflow.com

## Conditional Data Manipulation in Mathematica

I am trying to prepare the best tools for efficient Data Analysis in Mathematica. I have a approximately 300 Columns & 100 000 Rows. What would be the best tricks to : "Remove", "Extract" or ...

## Solve 4 A (L^(3/4)) - wL (((24 - L) w)^(-3/4)) = -(((24 - L) w)^(1/4)) for L? Using Mathematica

I'm trying to solve $$4 A (L^{3/4}) - wL (((24 - L) w)^{-3/4}) = -(((24 - L) w)^{1/4})$$ for $L$ using Mathematica, and it spits the following out: Solve[4 A (L^(3/4)) - wL (((24 - L) ...

## Multiply tensor product in Mathematica

I'm new in Mathematica (just learnt today for several hours) and I have some problem. I want to compute $(a\otimes b)(c\otimes d)$ in Mathematica and my desired answer is $(ac\otimes bd)$. Because ...

## Update the quantile for a dataset when a new datapoint is added

Suppose I have a list of numbers and I've computed the q-quantile (using Quantile). Now a new datapoint comes along and I want to update my q-quantile, without having stored the whole list of previous ...

## Implementing Double Exponential Smoothing, aka Double Exponential Moving Average (DEMA)

If I have time series data -- a list of {x,y} pairs -- and want to smooth it, I can use an Exponential Moving Average like so: EMA[data_, alpha_:.1] := Transpose @ {#1, ...

## Coefficients from paper M. Nießner Effective Back-Patch Culling for Hardware Tessellation

http://research.microsoft.com/en-us/um/people/cloop/vmvbpc.pdf In this paper authors show new method for backface culling bezier patches in clip space. In section 5 using symbolic algebra software for ...

## Best way to define / declare structured data in Mathematica? (for NAO robot link properties)

I am simulating a NAO robot that has published physical properties for its links and joints (such as dimensions, link mass, center of mass, mass moment of inertia about that COM, etc). The upper torso ...

## How do I collect data points from a list plot within an ellipse graphic in Mathematica?

Updated: I have a listplot of data and I would like to collect all the data points within a specific boundary of a circle graphic that overlaps the listplot in Mathematica. Is something like this ...

1 answers | Nov 7 at 21:36 by tquarton on stackoverflow.com

## Does a tool exist which can take a LaTeX equation and convert it to a format suitable for evaluation in Wolfram's Mathematica?

I use LaTeX to type up my homework, but as I work I often need to pop things into Mathematica (or manually type them in, or manually use my TI-89, etc.). Currently, I've been manually translating ...

## Practical applications of Graeffe's root finding method

What are the practical applications of Graeffe's root finding method? I searched a lot but couldn't find any. I found that it is used in aerodynamics and electric circuit analysis. But I don't know ...

## Transpose list with numbers and text

can't figure out how to do this: list = {i=0,i=1,i=2,i=3,i=4,i=5} It's trivial but I don't get it. I was trying to did this with MapThread and such but with no result. So now I have something like ...

1 answers | Nov 6 at 11:01 by Marko on stackoverflow.com

## How can I run a piece of Mathematica code without subscribing to Mathematica?

Are there public or third-party REPLs or other tools I can use to run a piece of Mathematica code? I've been sent some code to evaluate, but apart from reading it as intelligently as I can, I'd also ...

## convert generalized hypergeometric function to MeijerG form in Mathematica

I'd like to convert HypergeometricPFQ[{a, 1/2 + a, -1 - 5 a - 4 n, -n}, {-2 a - 2 n, -a - 2 n, 1/2 - n}, 1] to its MeijerG form.

## Approximate $h$ in $F(\theta)=\sin \theta \int_{-L}^{+L}h(z)e^{-ikz\cos \theta} \,dz$

Consider $$F(\theta)=\sin \theta \int_{-L}^{+L}h(z)e^{-ikz\cos \theta} \,dz$$ $$|z|\le L$$ $$0 \le \theta \le \pi$$ By having knowledge of $F(\theta)$, how can one approximate $h(z)$? In addition, I ...

## pair lists to create tuples in order

I'd like to combine two lists. If I have the following two lists: {a,b,c,d} and {1,2,3,4} what do I need to do so that I get {{a,1}, {b,2}, {c,3}, {d,4}}?

## Labeling in Mathematica to match the font size same as in LaTeX

I have some plot Plot[a, {a, -6, 6}] I need to use it in Latex. However the problem is that labeling text style in Mathematica does not match with LaTeX text. So what I do, I copy the figure ...

## LaTeX and Mathematica plot with same font/style

I know there are a couple of questions with answers to this but none of them seems to work for me so I ask here. Some basic facts: I have 1. Mac OSX 2. Very limited knowledge in Terminal (so things ...

3 answers | Nov 2 at 0:13 by Faq on tex.stackexchange.com

## Fractional oblongs in unit square via the Paulhus packing technique

Oblongs of size $\frac{1}{1} \times \frac{1}{2}$, $\frac{1}{2} \times \frac{1}{3}$, $\frac{1}{3} \times \frac{1}{4}$, $\frac{1}{4} \times \frac{1}{5}$, ... have a total area of 1. ...

## Setting up a “struct” in Mathematica safely

The question on making a record like in Mathematica has been discussed in few places, such as Struct data type in Mathematica?. The problem with all these methods, is that one loses the ability, it ...

2 answers | Nov 1 at 20:58 by Nasser on stackoverflow.com