All Questions

0
votes
0answers
109 views

How can estimate the PSF function to deblur an image of plate licence of a car

I want to deblur a blurred image of a plate licence of a car. I need to deblured it. I have used the ImageDeconvolve[] function and Sharpen but the problem is still difficult because I need to ...
8
votes
8answers
700 views

Replace interior of matrix with zeros

I have f.e. the following square matrix: ...
0
votes
1answer
83 views

Integral over geometric region [duplicate]

I'd like to calculate this integral $$ \int_E y\ dydz $$ where $E = \{ (x,y,z) \in R^3 : z^2+6 < y^2 < 5z \}$ By hand i've got $\frac{1}{12}$ but i'm not sure, and i'd like to verify this ...
0
votes
3answers
133 views

How can I use NestWhileList instead of While in this case?

OK, the problem occurred when I challenged with Project Euler No. 10 The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. My code is: ...
2
votes
0answers
58 views

How to use a scheduled event in a cloud notebook to read data files on a desktop

I don't know even how to attempt this, or if it's possible. I would like to be able to examine conditions, data, status of email server on my work desktop from the programming cloud. I recognize that ...
6
votes
2answers
287 views

How to estimate the matrix condition number in the 2-Norm?

The Mathematica documentation say it is possible to estimate the Matrix condition number in norm 1, 2, Infinity. But the 2-Norm raise a message. This is an extract from reference documentation ...
0
votes
1answer
39 views
2
votes
1answer
84 views

Coloring a set of polygons, each polygon to have a specific color

In addition to my previus post, regarding plotting the surface of a Möbius strip, I now realised, that some of the eigenmodes for a Möbius strip are either oscillations of a scalar field OR a vector ...
2
votes
0answers
73 views

Plotting multiple curves with multiple axes (>2) on the same plot

I'm attempting to generate a graph that depicts mulitple time series, measured in different units (but with a common time scale) on the same graph. This is a generalization of the familiar ...
0
votes
2answers
92 views

What is wrong with combining two programs with event handlers?

I can delete the unwanted nodes of a RandomGraph by double-clicking on them from the first program, and I can change the positions of the nodes by dragging them ...
1
vote
2answers
57 views

Enlarging a contour plot

I just started using Mathematica, and when I entered the following: ...
1
vote
2answers
76 views

Returning ancillary computation results from a function

Suppose I want to implement a function to solve a very basic Elliptic problem using Finite Element of some degree (It's just an example). Normally the user of my function is only interested to the ...
2
votes
1answer
83 views

Piecewise conditions with a parametric PDE

I'm using ParametricNDsolve to check best fit of a model (function Eb1) with some data, and I have four free parameters I want to test. I can easily construct a Parametric solution between the two ...
1
vote
2answers
60 views

FindFit is producing a list of imaginary numbers when there is non

I am trying to find the fit of an equation to some data and mathematica thinks there is a list of imaginary values. My data is all real positive number. ...
0
votes
1answer
41 views

Sort a multidimensional list row-wise [closed]

Suppose I have a multidimensional list as shown below: RandomInteger[{1,10},{3,7}] I obtain the results: $$ \left( \begin{array}{ccccccc} 3 & 8 ...
0
votes
1answer
146 views

LinearSolve failing to find solution to system of linear equations of 64 variables

I've got a 64x64 Matrix L for which I want to find the solution to the matrix equation L . x == rho. L is defined as ...
0
votes
0answers
34 views

Simplification of (Co)sine of a sum

I have a huge expression with (Co)Sine of a sum like Cos[[Theta] - 2 [Phi]] (after using \Simplify). I wanted to know if it exists a function which forces Mathematica to express the result in terms of ...
0
votes
1answer
53 views

Combining functions - is this a case for Piecewise?

I have a function $Eb1$ which was the subject of a question I asked recently - you can see it here on stack exchange. Now, in that example it's specified between a boundary $r_n$ and $r_o$ where $r_o ...
3
votes
1answer
151 views

Wavelength, wavenumber, energy and frequency in a ruler

I would like to generate set of four axis relating wavelength, wavenumber, energy and frequency in an arbitrary range. Like in this image but without the labels such as "RADAR". The selection of ...
0
votes
1answer
74 views

Blank Output for Text Recognition

Please Anyone help Why am I getting Blank Output for TextRecognization for the this Image Is it because the size of image.??? Please help Neither am getting output for this code ...
0
votes
0answers
40 views

Limits explanation in doc

Limit[expr,x->Subscript[x, 0],Direction->1] computes the limit as x approaches Subscript[x, 0] from smaller values. ...
3
votes
0answers
66 views

More complete “MutipartData” POSTs using URLFetch

I'm trying to upload a file to a wiki using Mathematica's URLFetch. Some preliminary work is required - one needs to log in to the wiki, obtain an edit token, and exchange some cookies with the wiki ...
12
votes
1answer
271 views

the more effective method to find 21 digits armstrong number

In recreational number theory, a narcissistic number (also known as a pluperfect digital invariant (PPDI), an Armstrong number(after Michael F. Armstrong) or a plus perfect number) is a number that is ...
0
votes
0answers
67 views

Compile without hardcoding

My question is how to pre-compile the rules1, rules2 and result parts of the following Module code without hard-coding the many (and changing number of) variables and rather complicated equations: ...
7
votes
1answer
245 views

How to add texture to solid Graphics3D object such as cylinder?

I'd like to add texture to a Cylinder inside Graphics3D. I can't see how to use FaceForm and ...
2
votes
1answer
52 views

How to add a barlegend to a listlineplot?

I'm trying to add a color bar legend to a ListLinePlot with multiple lists. With 20+ lists a normal Legend gets long and bulky. Basically, each list line is associated with a different value. I've ...
1
vote
1answer
64 views

How to connect to remote kernels inside home router?

How to use remote kernels inside a home router? My router has the demilitarized zone (DMZ) feature, which can expose my computer to the internet, and should be able to work, but I can't figure out how ...
7
votes
4answers
547 views

How to find all data points within closed curve

I want to find all data points inside curve as given below: ...
5
votes
1answer
115 views

Systematic increase in runtime [duplicate]

When I run this simple code, which repeats many times the exact same operation (a differential equation), the runtime (given by Timing) increases systematically, ...
2
votes
1answer
60 views

TreeForm expression that will automatically spread nodes vertically so labels do not overlap

My deeply and unevenly nested lists and equations generate a TreeForm image which is too small and compressed to use. Then we must expand it manually by grabbing the edge of the image, and sometimes ...
1
vote
0answers
43 views

webMathematica evaluation gives unexpected results when imported dynamically

Let me know if this should be posted on StackOverflow instead - I'm not quite sure where it belongs When calling a page via the JSTL <c:import> tag or the ...
1
vote
2answers
86 views

Problem with exporting lists to Excel

When I use the form Export["file", list, "Table"] to export a list to Excel, I get columns of lists. I want my Excel sheet to have each list element in a separate ...
2
votes
0answers
20 views

Customizing the distance of plot frame tick labels to frame [duplicate]

How can I customize the distance between the frame tick labels in a plot and the frame of the plot? MWE here —nothing special: ...
0
votes
0answers
81 views

Horizontal shift in fitting data by a sinusoidal nonlinear model

I have data that can apparently be fitted by a sinusoidal function in form $D+A\sin(B(x-\frac CB))$. I tried doing the best fit in Mathematica using ...
3
votes
3answers
152 views

Customizing decimal mark used in plot frame tick labels

I am using the Plot function in a usual way. I use Mathematica 9.0.1.0 in English (I do not know if it is available in other languages, but I do not mind), and as a ...
5
votes
2answers
235 views

Problem regarding 3D plot of a Moebius strip from a set of 2D points

First time posting here, although an experienced user of WM. I have a problem regarding graphics which I cannot seem to fix, so I am asking for your help. I start with a set of points $(x,y)$ in the ...
0
votes
1answer
112 views

eigenvector bug also for matrix with numeric value [closed]

I just realize that probably there is a bug also in calculating the eigenvector of a matrix with numeric values (see here for bug in eigenvector calculation with symbolic value). In particular in my ...
1
vote
0answers
49 views

Specifying shortcut without modifying KeyEventTranslations.tr

Until recently, I followed the suggestions(e.g., http://stackoverflow.com/questions/7327411/is-there-a-way-around-using-and-for-part-in-mathematica) to introduce some new shortcuts. However, I moved ...
2
votes
3answers
251 views

Implicitly differentiate an equation, then solve the resulting equation

Suppose I have an extremely tedious equation to differentiate and want mathematica to help do the differentiation and solve. Consider a less tedious equation: $$y (x,z) = sin \left(\frac{1}{x} ...
0
votes
1answer
86 views

Loading and processing five files at a time from a directory containing many, many files

I have 3000 files (for example: aa101.csv, aa108.csv, aa120.csv, ...) and I need to process them. I need to load five files from a folder, process them, and export them to new list in Excel. Then I ...
0
votes
0answers
74 views

puzzled with ColorData

At first let me thank, from this point as well, those that they replied to my previous queries. From a reply I got, I obtained finally the desired graph. ...
3
votes
0answers
68 views

Antialiased text in manipulate constantly re-evaluated, ignores TrackedSymbols

I am trying to display antialiased text (using the ImportString[ExportString[]] method shown here) but inside a manipulate so that the text can be changed interactively. I have found a way to do this, ...
1
vote
1answer
54 views

How to update Print-out “in place”?

I want to run an exhaustive search algorithm that will take several hours to finish, so I'd like to have it execute Print statement periodically, showing the ...
0
votes
0answers
37 views

Pass model parameters to NDSolve'Reinitialize

I am wondering if there is a way to pass parameter values during the NDSolve'Reinitialize step of the NDSolve process? I've read that one way to possibly speed up repeated calls to NDSolve is to ...
2
votes
1answer
100 views

Matrix constructed as a function inside a for-loop [closed]

I am trying to construct a matrix A which depends on variables x and y through iteration. My ...
3
votes
1answer
129 views

Arranging and combining multiple plots and graphics

I have 4 plots/schematics. They are either created with ArrayPlot[], ParametricPlot3D[] or Graphics[]. As I play with calculation resolutions their absolute sizes will change. I would like a neat way ...
1
vote
1answer
85 views

Identifying the color in Image

This has mad me Crazy for a while Can any one please Help me solving this this is the Image that I am working on . Basically this image is made up of 98 different color patches 7 patch on each level ...
0
votes
2answers
50 views

Modifying elements of a matrix after construction [closed]

Suppose I have constructed a matrix with all elements as a constant (say 1): N=4; A=ConstantArray[1, {N, N}]; Now I want to make A(2,3)=23 and A(4,3)=43. Can I ...
1
vote
1answer
62 views

Density plot of asymptotic behaviour of a linear system

Good morning, I have an ODE linear system $\dot{\vec f} = A \vec f$ depending parametrically to two real parameters, s and p. I'd like to get a density map of the solutions of $f_A/(f_A+f_B)$ at ...
0
votes
1answer
88 views

Show Progressbar after pressing a button

I've recently struggling with Buttons. So I understand Buttons have the form Button["text",action]. Now I want the action to be ...

15 30 50 per page