# All Questions

79 views

### Find intersections points with axes

Let's create some points corresponding to a simple closed curve ...
61 views

### Fourier Series plot

I'm trying to plot partial sum of Fourier series. I've finally managed to make it work but there are several things I don't understand ...
89 views

### A 2D-plot with second X-axis [duplicate]

I plotted a simple function with: ...
18 views

### Notation::gshadw warning when using Symbolize inside If

Somewhere in my init.m file I have the following code: ...
116 views

### Grouping words by their differences

I'm a new guy here and I face a problem. I should pair the following words according to the rule: pair the words, that differ by max. 2 characters, like: ...
157 views

### How can I make Mathematica trigger the simplification of ArcCos[a]+ArcCos[b]?

According to this Wikipedia subsection my guess is that I should be able to convince Mathematica to return zero when doing ...
121 views

### default RGB coloring

I am playing with some basic genetic algorithms to recreate input images by transparent plane figures (similar like here:). Everything would work great but the speed is terrible. I was looking for a ...
27 views

### What is the error in this equation? [closed]

Can you look at this equation, I cannot understand what did I do wrong
63 views

### How to order a list to match the order of another list?

How can I order a list to match the order of anoter list ? For example: Suppose I have the lists x = {3, 1, 5, 7} and ...
47 views

### ListVectorPlot have to be run twice to get the plot [duplicate]

I'm running the following code on v10 ...
38 views

### How to convert Boolean predicates to numeric expressions [closed]

I'd like to use Boolean expressions as numeric values, as in: a = 3 < 2 b = 3 a * b but the final result of that is 3 False, instead of 0. I can do something ...
29 views

### add " for all member of the last (1 and -1 positions)

I have a small problem with a list. I did, that list={AA,BB,CC} and I wish to make it into the form of {"AA","BB","CC"}, but I cant insert ", because failing, I tried simply adding, or MapThreading, ...
35 views

### Use LibraryLink with Intel compiler

I'm trying to use LibraryLink with the Intel compiler in order to use Fortran code for this problem, but I failed at the very first step. I've taken a frist example ...
4k views

### Is Mathematica worth it for me?

I'm 13 years old and in 7th grade. I'm currently in Algebra 1, and I have fallen in love with both math and programming. When I came upon Mathematica, it was awesome. My two favorite things fused ...
133 views

### strange timing result of LinearAlgebraBLAS in mathematica? [closed]

BLAS is short for "Basic Linear Algebra Subprograms". It is a famous collection of routines for doing linear algebra. I just know from Oleksandr R. that mma can directly call BLAS under the context ...
137 views

### Find zeros of a transcendental function

Mathematica 10 can not give me solution of this equation ...
67 views

### Finding terms of the perturbation solution

I've got a task to find first three terms of the perturbation series solution to: $$y' = 1 +(1+\epsilon)y^2,\quad y(0)=1, \quad t > 0,$$ for a small $\epsilon$. I am supposed to use Mathematica ...
48 views

### Misunderstanding of Replace code

I am looking for the right way to replace $\delta \, \, \text{by} \, \, 0.05 \, \, \, \beta \, \, \, \text{by} \, \, \, 1.77 \, \, \, \text{and} \, \, \, n \, \, \, \text{by} \, \, \, 12$ in this ...
338 views

### List of symbols marked [[EXPERIMENTAL]] in the documentation

Some of the built-in Wolfram Language symbols are marked as [[EXPERIMENTAL]] in the documentation. For example [Echo] How can ...
250 views

### Add semicolon at the end of code line programmatically

Suppose we have several lines of code in a cell: a b; Module[{}, c d] e How can we wrap them in a CompoundExpression i.e. ...
181 views

### Coordinate system transformation problem (about Euler angle)

This question comes from the work that constructing the general cylinder by the NURBS. I have implemented the point-set $P_1,P_2,\cdots,P_n$ that in the $O-xyz$ plane, now I want to implement the ...
151 views

### My introduction to Compile

I am reading Fractals from the Newton-Raphson method from Peter Young's page [http://young.physics.ucsc.edu/115/]{http://young.physics.ucsc.edu/115/}. I've tried: ...
20 views

### Dynamic Epicycles [duplicate]

The following code is meant to produce a dynamic graphic of epicycles. (I'm having A LOT of trouble copying my code into this editor so that it can be copied back to Mathematica and run, please let me ...
211 views

### Dynamic Epicycles

Thanks to all the thorough answers and comments, I've written the following code, which builds a variable number of epicycles. However, when I apply the formula ...
4 views

### meaning of permutation raised to a power, another permutation [migrated]

Unable to find any reference on the meaning of pi^psi, where pi and psi are two permutations of the set {1,2,3, ...,n}. E.g, (1,2,3,5,4)^(2,3,5) Incidentally the package GAP provides this operation, ...
59 views

### List of points of an increasing sine function

I'm trying to obtain a list of the points of an amplitude-increasing sine function. I would like to give a certain value for input, e.g. 0.5. Sine will start increasing and decreasing from this point, ...
59 views

### Hermitian Matrix

From Derbyshire's Prime Obsession, I would like to get the Mathematica code to generate a Hermitian matrix for evaluation and display. $256 \times 256$ would be nice. Random Normal distribution, ...
55 views

### Newton's method for non linear systems [closed]

I've just started yesterday learning Mathematica and I'm having some trouble implementing Newton's method to solve non linear systems. I've found this code on a college web page but I'm not sure if ...
29 views

### Multivariate remainder of polynomial in respect to a set of polynomials

I would like to have a really fast routine that computes the so called Normal Form of a multivariate polynomial f in respect to a set of other multivariate ...
60 views

### How to solve a linear system inside Manipulate and use the result for Plot?

I typed a code for showing a plane and a line, and solve a system, but I can´t show the intersection, because I don´t know. Here is a minimal working example for understanding my problem ( the real ...
112 views

### How do I plot this 3-D, double integral?

I have the following function: I need to plot a 3-D with coordinates f (p, q), p and q. I mean, I enter values for p and q, so that the integral of f (p, q) must be a number. This number must be ...
77 views

### Finding matrix given null space

Suppose I input a very large $n$ integer vectors and I wish to compute the matrix whose nullspace is spanned uniquely by these vectors. Is there an appropriate command/module to do this using ...
42 views

### Problem with solving set of nonlinear 2nd order ODEs with NDSolve [closed]

I'm trying to solve a set of 5 nonlinear ODEs with NDSolve, 3 of them are second order, and I defined all the initial conditions, but when I evaluate the cell, I get no errors and at the same time no ...
59 views

### Change position and orientation of 3D object

I was trying to understand how 3D objects work in Mathematica, but I run into a problem I am not able to solve by myself. I have the following 3D plot: ...
35 views

### Where can I find documentation on use of special characters in templates?

I am new to Templates. I have seen the usage "\!\(\*StyleBox ...)" as here: disabling templates What does the string "!(*" accomplish and can I find some ...
87 views

### How to convert date string with fractional seconds to DateObject

I have a date/time string from a data file in the form "2014/01/09 07:24:36:001". I would like to convert it to a DateObject. I ...
56 views

### How can I dynamically display a stream position?

If I create a stream, str = StringToStream["how can I dynamically display the stream position"]; Read[str, Word] "how" then, when I use, ...
49 views

### How to draw a distribution plot (dotplot?) like this in mathematica? [duplicate]

I believe I've seen this answered already here in Stack Exchange but I could not find it again, so here I am asking, hoping that someone knows this other post I am referring to. Here are examples of ...
78 views

### Evaluation of this definite integral

I want to obtain the symbollic expression for this integral: $\int^\infty_{-\infty} \, dx \, \left(\frac{y - x}{R^2 + (y-x)^2}\right)\, e^{-\frac{(x - \mu)^2}{4 s^2} - \frac{i k (y - x)^2}{2 R}}$, ...
110 views

### the number of values problem

I have the following problem. I have to generate 100 random values and make a list. From this list I will randomly select 60 values and calculate MeanCI <- ...
37 views

### optional arguments in graphic function [closed]

I hope there is not a maximum number of questions per day:-)! As I told the goal is to upgrade this but instead of making a post with many questions, I split in into several "sub-questions". So, in ...
68 views

### FDTD Electromagnetic Simulations with Mathematica

Mathematica has some Finite Element capabilities (as explained here). Do you think mathematica is a realistic/sensible option for electromagnetic simulations? (aka making a movie of electric fields ...
68 views

### Series around a point

I have the function Vt ...
179 views

### Animate $2D$ butterfly curve in $3D$

There is a butterfly curve $$r(\theta)=e^{\sin(\theta)}-2.4\cos(4\theta)+\sin \bigg( \frac{\theta}{12} \bigg)^5$$ ...
54 views

### PlotRange problem [closed]

When I plot a list (20 points) using ListPlot, the plot always begins at 1 and not 30 as my PlotRange indicates. ...
59 views

### Fitting in Mathematica: Which function? [closed]

in other programs, there is a possibility to take a data set and to find the function which fits best. Is there also such a possibility in Mathematica? I only could find ...
44 views

### combine two definitions into one [closed]

Suppose I have two definitions of a function such as ...
732 views

### Line by line code development

One main advantage of Mathematica over several other languages, at least in my view, is that you can create your code line by line. This makes much easier to debug your code during the development ...