0
votes
0answers
8 views

Generating a List of Numbers with “Table” Causing Deviation

I'm trying to generating a list of numbers with the function table. But it caused a little deviation which I didn't expect. Let's say I need a function like: ...
1
vote
0answers
9 views

Mathematica Internal Self Test Error winFonts|c|310

Every time I open Mathematica, I get two identical error messages: ...
-7
votes
0answers
21 views

Mathematica group project

I need to create a picture of half a cylinder containing three spheres and four cones stacked up, each other one facing a different direction
0
votes
0answers
19 views

How to solve the algebraic equation involving log

When i solve the following equation:, Solve[5.02655/r + 6.31655 r - (8 Log[r])/r^3==0,r] I get the error message Solve::inex: Solve was unable to solve the ...
1
vote
1answer
23 views

How can I manage discrete variables that oscillate when using NDSolve?

I have a system of differential equations with two discrete variables (var1 and var2) that can be either 0 or 1. I'm trying to ...
-1
votes
0answers
30 views

Solve a green function with boundary condition

I want to solve this equation but I can't. y''[z,x]=w^2-m^2 z>x y''[z,x]=w^2-m^2 z<x diffraction is just on z(The partial derivative of z) with condition ...
1
vote
2answers
62 views

Role of Accuracy in numerical evaluations, SplitBy vs GatherBy

This is a follow-up question to this question. I generated a list by substituting the results of a solve[] routine and set: ...
0
votes
1answer
23 views

Positioning of a Palette notebook

How can one position a palettenotebook : when I create a window with a palette notebook, the option windowmargins does not work here is an example code : CreateWindow[PaletteNotebook["Dummy"], ...
2
votes
1answer
29 views

Serial - DeviceOpen - Baudrate Error

When trying: ser = DeviceOpen["Serial", {"COM1", "BaudRate" -> 230400}] I get: ...
0
votes
0answers
18 views

Integrating 2D functions created from higher-dimensional functions

I have a routine that I run that involves a sum of m-2D integrals. Actually, it looks something like ...
2
votes
1answer
45 views

How to prevent extraction of constants from radical sign?

To me, the expression Sqrt[2]Sqrt[x] is more complex than Sqrt[2x]. But even if I merely input the latter, I get the former as ...
5
votes
3answers
523 views

How to make this GIF

The question derived from @Jason B 's answer.I wanna make it but don't how to do.But we can get some rule about the GIF The change of the total pixel is very small. ...
0
votes
0answers
34 views

Unexpected behavior of SameQ [duplicate]

I am new to Mathematica and I wanted to test the equality between 2 expressions using SameQ. I obtained the following result (note that I defined $r = \{x,y,z\}$, which is not shown below): It ...
2
votes
1answer
53 views

How to stop running Java?

<< JLink`; InstallJava[]; Clear[serverSocket, socket]; serverSocket = JavaNew["java.net.ServerSocket", 12345]; socket = serverSocket@accept[]; If I enter ...
1
vote
1answer
52 views

Having issue for solving a system with seven equations

I have a system with seven equations and three constrains. I tried to solve them using NSolve, but it takes forever without getting any result. Also, I tried it ...
1
vote
0answers
56 views

Pattern for a function of say 2 variables [on hold]

How can I specify a pattern for an expression f for which say f[x,y] returns a value, ie is defined as a function taking two ...
4
votes
1answer
27 views

help with string patterns and RemoveCellTags

I am building a table of contents using AuthorTools. I used it to create cell tags so the TOC can make hyperlinks, but then I decided I wanted to change them. But I am having trouble removing the ...
5
votes
0answers
26 views

CheckboxBar doesn't work with TrackedSymbols

CheckboxBar doesn't work with TrackedSymbols and a custom callback function. Here's an example that doesn't work ...
2
votes
2answers
49 views

Button with loop in Manipulate

I have the toy Manipulate. ...
0
votes
0answers
44 views

Conditional probability $P\left(X \in A \middle| \, Y \in B \right)$

I am trying to compute a conditional probability of the form: $P\left(X \in A \middle| \, Y \in B \right)$. In details: Let $g$ be a complex r.v. normally distributed as ...
0
votes
1answer
41 views

Exponential number with negative base? [on hold]

Consider the following number: (-1)^(2/3) I want to get output in real field, equal with: (-1)^2 = 1, 1^(1/3) = 1 Thus ...
0
votes
0answers
59 views

How can I declare $(\mathbb Z_8,+)$ group in Mathematica?

I am learning computational group theory. Mathematica has GroupGenerators(group) command where you need to specify the group somehow but I am unable to find how to declare the group at the first hand ...
2
votes
2answers
44 views

How to mix symbols and text for labels in manipulate? [on hold]

I'm creating a big manipulate box with several sliders, and each slider must have a small explication text (units, for example) after a mathematical symbol. As a simple example, here's the code I'm ...
1
vote
2answers
69 views

plotting all solutions of differential equations for many parameters

I have a list whose elements is in the form {{f[x]-> some function of x}}. How do I manipulate it to bring in the form ...
8
votes
3answers
227 views

Gatherby/Splitby and Sort a list

So let's say I want to group a list of points based on their distance from the origin. I would do something like: ...
1
vote
0answers
23 views

Order of importing data from files

I have many text files numbered from 1 to 1 million in numerical order. Within each text file is 5 columns of data (TAB spaced) with many rows. I effectively want to take the minimum value from each ...
2
votes
1answer
75 views

What function can transform A*Cos[x]+B*Sin[x] to Q*Sin[x+R] form? [duplicate]

I've tried several functions related to trigonometric transformations, namely TrigFactor, TrigExpand, ...
0
votes
1answer
41 views

Can't sort my list numerically for larger numbers than 10 e.g. 1,10,100,2 [duplicate]

I want my files names in real numerical order so 1,2,3,10,12. However it is currently putting them in order like so: 1,10,12,2,3 Input: ...
2
votes
1answer
63 views

Generating x,y coordinates for an edge detection of image [on hold]

i have a photo and I want to obtain the coordinates in a table form of its edge so that I could input the data into Autodesk Inventor May I know how I can do it
1
vote
0answers
27 views

Export the coordinates of STL object

Hi I currently have a STL file of a 3D object Is it possible for me to obtain the coordinates of the object so that I can just input that into Autodesk Inventor
0
votes
0answers
64 views

Slow and laggy animation of an electromagnetic wave

I made a manipulate code of an electromagnetic plane wave which works relatively well, but is very slow and laggy for what it does (showing just a bunch of rotating or oscillating arrows). What is ...
7
votes
1answer
170 views

Risk-return trade-off — solving a convex optimzation

I try to convert a convex optimisation (cvxopt) example to the Wolfram Language from python. Source of the python code: Risk-return trade-off Please advise me on how to convert the following python ...
3
votes
3answers
84 views

Linearity of expectation not respected

I have found that Expectation gives different results if I use the fact that expectation is linear and evaluate it on every term independently. I reduced my ...
0
votes
1answer
65 views

How to convert this .txt data into a list of points [on hold]

Question How to import data from a .txt file into Mathematica and convert it to an expression? Download the .txt file here (click download): http://pastebin.com/2NW2DfiE
2
votes
1answer
42 views

ExcelRun::failed: Type mismatch >> error when calling an Excel macro from Mathematica

I have a macro in a module within an Excel file (called "test.xlsm", saved on my desktop) that takes one argument as a string: ...
4
votes
1answer
61 views

Appearance of a slider

I just observed that in Mathematica 10.3 for Windows the appearance of a slider has been changed. The slider is now blue, black when the mouse is over the slider and gray when the slider is dragged. ...
0
votes
0answers
23 views

NDSolve::ivar error when trying to solve DE [on hold]

I am getting this error: NSolve::ivar: 0 is not a valid variable, when attempting to solve the following problem. ...
1
vote
2answers
68 views

Closed form solution equations involving finite sums

I am a beginner in Mathematica, so take this into account. I could not find anything similar in the internet so far. I am trying to find a closed form solution for ...
3
votes
1answer
42 views

How to gather terms into Elementary Symmetric Polynomials?

I would like to gather the terms of this polynomial (and much higher order ones): $$q = 1-3 c+c^2+p[1]-2 c p[1]+p[2]-2 c p[2]+p[1] p[2]-c p[1] p[2]+p[3]-2 c p[3]+p[1] p[3]-c p[1] p[3]+p[2] p[3]-c ...
0
votes
1answer
44 views

How do I combine a ListPlot and a Magnitude BodePlot [on hold]

I have frequency response data from a lab test. I can make a ListPlot of the data. I have theoretical frequency response plotted as a BodePlot. I want to combine (overlay) the lab data on the ...
3
votes
2answers
199 views

How do I get the inverse of a homogeneous transformation matrix?

I want to get the inverse of this homogeneous transformation matrix: iab = { {1, 0, 0, 0}, {0, 0, -1, 0}, {0, 1, 0, 3}, {0, 0, 0, 1} } ...
4
votes
1answer
64 views

Video processing in Mathematica

I while back, I was just looking around in the example/demonstrations section of Mathematica, and I came across a couple of very good examples of Video processing in Mathematics. I vaguely remember ...
0
votes
1answer
39 views

SocialMediaData[“Facebook”, “FriendNetwork”] being returned unevaluated [duplicate]

When I typed the command SocialMediaData["Facebook", "FriendNetwork"] I got the output ...
-4
votes
0answers
29 views

How calculate the rest of the division 2/7 [on hold]

How can I calculate the rest of division about two / seven? According to this video (https://youtu.be/Nu-lW-Ifyec?t=113) the result of this division is two. But how can I know that? In calculator the ...
0
votes
0answers
10 views

How to compute the original sequence given a DTFT? [migrated]

Without directly performing an IDTFT, but by using the definition of the DTFT, how can one reverse the operation and compute the original input sequence producing a given DTFT? That is, Given ...
1
vote
0answers
62 views

LinearModelFit: Standard error or Standard error of the mean on the slope [on hold]

UPDATED 02/14/16 Let me make this question clearer. Suppose each measurement that I make consists of three points, each with its own error governed by a normal distribution, on an XY plot. Obviously ...
0
votes
0answers
41 views

Can I make an array which varies with respect to 3 variables? [on hold]

Is there a way to have a function change based on different conditions? For example, let's say I have a function f[x_,y_,z_]:=f[z], where ...
1
vote
0answers
36 views

Graphics row/case number showing [on hold]

I want to draw scatter plot of two variables and showing the case number of on points of graph. and also multiple scatter graphs. Further these graphs are not disturbed on formatting their size. Dear ...
0
votes
1answer
63 views

Problem with solving an optimal control system with Shooting Method

I try to solve a system of differential equation by shooting method. I looked at questions asked on the site but I could not find that could help me. My functions are ; ...
4
votes
1answer
88 views

Is it possible to make a mathematica program which can be viewed online by anyone?

When I first learned about Mathematica online, I was very excited about it. However, it is not a free service, but a subscription similar to normal mathematica. Moreover, everything I look up about MO ...

15 30 50 per page