Mathematica

Mathematica

  • All Sites
  • All Meta Sites

4 answers

How do I find Waldo with Mathematica?

This was bugging me over the weekend: What is a good way to solve those Where's Waldo? ['Wally' outside of North America] puzzles, using Mathematica (image-processing and other functionality)? Here …

1 answer

Neat extraction of elements in nested lists (Mathematica)

This is a question about rearranging parts of nested lists in Mathematica. I've got a nested List: DatenList = {{1, {100, 200}}, {2, {101, 201}}, {3, {102, 202}}}; and want to get another list like …

2 answers

Dynamic variable naming in Mathematica

I have looked around for a while and did not seem to find an 'elegant' solution to my problem, hopefully someone can provide some help. Very briefly my problem is: I would like to be able to name ...

2 answers | yesterday by Ronan on Stack Overflow stackoverflow.com
1 answer

Name for programming pattern used by Mathematica

Since Mathematica 7.0, there is ParallelTry function [1] that evaluates multiple functions in parallel, returning the first result received. This is similar to parallelizing a search on a disjoint ...

1 answer

loop to generate iterative rows of a matrix in mathematica

I have a matrix FT= {{0, 0, 0}, {1, 1, 1}, {1, 1, 2}, {1, 1, 3}, {1, 2, 1}, {1, 2, 2}, {1, 2, 3}, {1, 3, 1}, {1, 3, 2}, {1, 3, 3}, {2, 1, 1}, {2, 1, 2}, {2, 1, 3}, {2, 2, 1}, {2, 2, 2}, {2, 2, …

1 answer

How use Mathematica fonts with LaTeX - which method?

I want to be able to use Mathematica fonts with LaTeX. I find two sets of instructions for this: Robert's post there Kuska's instructions in mysymdoc.pdf, a file in the Mathematica 8 folder ...

1 answers | 2 days ago by murray on TeX - LaTeX tex.stackexchange.com
0 answers

Super Resolution in Wolfram Language

An approach to Super Resolution in the Wolfram Language/Mathematica. In effect, large parts of the image that are similar to small parts are shrunk and used to replace them, in doing so ...

1 answer

Nested if conditional in Mathematica

Do you know if and how I can rewrite the code below in a better form for different values of m, k, and l? It is a nested if conditional construct that I want to check b for all m, k, and l, but the …

2 answers

Graeffe's root finding method

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

2 answers

how to impose a constraints in the NDSolve

I have a question about the constraints in Mathematica NDSolve If I have two linear differential equations NDSolve[x'[t]= A x[t]+B y[t], y'[t]= C x[t]+D y[t], x[0]==0.002, ...

2 answers | Aug 25 at 17:36 by samer nussirat on Stack Overflow stackoverflow.com
1 answer

form a matrix by picking row with maximum value at first place from a matrix whose each element has various rows with 3 columns each

I have a matrix Inter[i,j] whose each element has a set of rows with 3 columns each. for eg. Inter[15,40]= {{0,0,0},{1,1,3}}, Inter[32,64]={{0,0,0},{1,1,3},{2,2,3}} and so on Now i want a matrix ...

1 answers | Aug 25 at 11:44 by Divya Ghai on Stack Overflow stackoverflow.com
1 answer

Trying to calculate 5 simultanious equations in Mathematica

$\def\1{x_1}\def\2{x_2}\def\3{x_3}\def\f{f(\1,\2,\3)}\def\bs{\bigskip}\def\b{\begin{pmatrix}}\def\e{ ...

3 answers

How to plot a phase portrait for this system of differential equations?

I beg your help.. I'd like the phase portrait for this system. I don't know how to use Mathematica/Matlab ... :( If anyone can make this portrait and post a print screen here, I would thank you ...

4 answers

How to tell Mathematica to replace 0 to power 0 by 1?

Experts; Given f = (#1^#2) & Is there a way to define 'f' above such that if #1 and #2 are both zero, then the value of the pure function 'f' should be 1 ? so that when I write f[0,0] it …

4 answers | Aug 23 at 17:11 by Nasser on Stack Overflow stackoverflow.com
1 answer

Why is a complex number plus infinity equal to infinity?

Why is $$2 + 3 i + \infty = \infty$$ according to Mathematica and Wolfram Alpha? Shouldn't it be: $$2 + 3 i + \infty = \infty + 3 i$$ ? After all: $$2 + 3 i + 10 = 12 + 3 i$$ and not: $$2 + 3 i …

2 answers

Stop evaluating an built-in Mathematica function

I am trying to simplify some formulas like F[a,b,c]*F[a,c,b]+F[c,a,b] /. {a->1,b->2,c->3} where F[a,b,c] := LegendreP[a,x]+LegendreP[b,x]*LegendreP[c,x] And Mathematica can give a ...

2 answers | Aug 22 at 18:09 by Kala on Stack Overflow stackoverflow.com
4 answers

Complex integration over a contour

I know this is not exactly a programming question, but I've been trying to coax Matlab and Mathematica into solving this for me. This is a question on a practice exam for a class in Complex ...

0 answers

How connect Wolfram Mathematica with Wincc?

Sorry for my bad english I connect matlab with wincc. In the Internet there are many resources where it is described. But I did not find information about mathematica

1 answer

Wolfram Mathematica - Newton Backward Interpolation?

I have the following task: Create a function (in Wolfram Mathematica), called $\mathrm{NewtonBackward}$[n_,x0_,h_,f_] which interpolates backwards the function $f(x)$ with nodes {x_i = x_0 + ...

0 answers

Hide the LaTeX output after importing PDF files generated by mathematica version 10

\documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{makeidx} \usepackage{graphicx} \begin{document} ...

1 answer

Laplace of InverseLaplace not equal to self

In Mathematica, I define a function A[f_] := f - LaplaceTransform[InverseLaplaceTransform[f, s, t], t, s] and then evaluate Simplify[A[Exp[x/Sqrt[1/s]]], x > 0] I should get a zero but I see …

1 answers | Aug 21 at 8:45 by highBandWidth on Stack Overflow stackoverflow.com
2 answers

Calculating percent difference between elements in a list with functional programming in Mathematica?

This stems from a related discussion, How to subtract specific elements in a list using functional programming in Mathematica? How does one go about easily calculating percent differences between ...

1 answer

Mathematica - Conditional point size?

I want to make a plot with different point sizes, but I don't know where to start. First of all, I need error bars. My data is in a table that I have read from a .txt file. The following gets me ...

0 answers

Subscripted parameters in Mathematica NDSolve

I'm working on a very long list of Differential Equations that I will eventually need to fit to experimental data but I'm having an issue getting NDSolve to accept my subscripted variables. Since the …

2 answers

Most efficient library to diagonalize exactly large hermitian or unitary matrices

I am working on a physics problem which requires obtaining the exact eigenvalues and eigenvectors of Hermitian and Unitary matrices numerically. Naturally I would like to ask the experts what are the …

1 answer

Any way to force Mathematica to remove the Locked attribute?

Obviously Mathematica is able to remove this attribute; it's just not letting me. Does anyone know of any hacks to force Mathematica to do what I say?

0 answers

Computer Code Friendly Books On Differential Equations?

When I need a differential equation for this or that application I generally search (by hand) through old paper and ink books written by mechanical or electronical (electrical) engineers. Sometimes my …

2 answers

Compute unknown limit from known integral in Mathematica?

I have an integral $\int_a^b \! f(x) \, \mathrm{d}x = c$ where I know c and either a or b. Now I want to compute either b or a (i.e., the missing limit). How would I do that in Mathematica/Wolfram …

0 answers

SAGE vs. Mathematica for Lie algebras / groups?

What math software is better for working with Lie algebras and Lie groups, SAGE or Mathematica?

0 answers

Compile custom function

I would like to compile a custom function that I created in order to speed up the computation time, which is already small but I am calling the function quite a "few times". Some dummy data: DD = …

15 30 50 per page
1 2 3