TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 175)

Find answers to your questions about Mathematica or help others by answering their Mathematica questions.

I'm struggling with the new syntax and with GeoGraphics

I've used Mathematica since the mid-90's, but I'm a beginner with some of the new syntax. The thing I'm trying to do is not only have a polar map of...

Asked on 02/05/2021 by David Elm

1 answer

Determine a positive semidefinite 5*5 matrix

I'd like to find the real parameters $left{a_{14},c_6,c_8,c_{10},c_{12},c_{13},c_{14},c_{15},alpha right}$ in M, which is a $5times 5$ real symmetric matrix, such that M is positive semidefinite. I assume that...

Asked on 02/05/2021 by LCH

1 answer

Slow Integrate of a product of Boolean functions

I haveIntegrate[ Boole[Abs[xa] < 1] Boole[Abs[xa - xb] < 1] Boole[ Abs[-L + xb] < 1] Boole[Abs[xa - xc] < 1] Boole[ ...

Asked on 02/05/2021 by apkg

3 answer

Error on using Compile[]

My code is below.deltaX = 1/128;W=256;Mmax=40;lPoly = ParallelTable[ LegendreP[ order, (-1.) + (deltaX/2.) + ((index - 1.)*deltaX)], {order, 0, Mmax}, {index, 1, W}];XPoly =...

Asked on 02/05/2021

1 answer

Expression evaluates to a different number when made a function

The following expression evaluates to zero at large n when just using replacement, but if the same expression is defined as a function f[n], it suddenly evaluates to a nonzero...

Asked on 02/04/2021 by level1807

2 answer

Solve for matrix in linear equation

I need to find a matrix M such that M.u = v, where u and v are known vectors. I don't understand how to do this with LinearSolve, which...

Asked on 02/04/2021 by Dan Goldwater

3 answer

Can HatchShading be applied to a general Graphics3D object?

Is it possible to apply HatchShading (a new Mathematica 12 option for Plot3D and friends) to a generic Graphics3D object (for example, spheres, tubes, and arrows), such as:a =...

Asked on 02/04/2021 by Peeter Joot

1 answer

Is simplify giving a "not always" correct answer here?

A result like this appears as one of the terms when I compute coefficients in a Fourier Series:expr =(Sin[n*Pi])/((-4 + n^2))If I simplify all my terms, this happens:Simplify[expr,...

Asked on 02/04/2021 by Craig Carter

1 answer

NMaximize seems to be returning the wrong result

I'm trying to use NMaximize to show that entropy is maximized when the distribution is uniform. It seems to work when the random variable is valued, but breaks at 4+...

Asked on 02/04/2021 by rgrinberg

1 answer

Imprecise 3D plot

I'm plotting the following figure: There are two issues:There is some noise around the edges of the section of the...

Asked on 02/04/2021

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP