The code-review tag has no wiki summary.
13
votes
1answer
178 views
Copying one symbol into another
I would like to know how can I completely copy one Symbol to another. When I say copy, a refer to UpValues, DownValues, ...
2
votes
3answers
259 views
Using DSolve to solve for x[t,parameter]
I'm trying to solve an ODE with two independent variables (a cannon firing from a cliff incorporating wind resistance dependent on velocity). I've tried the following for the x-component:
...
20
votes
1answer
305 views
Strategies for solving problems involving searches
As an example of a search-oriented problem, consider finding all constrained $n$-colorings of a graph. An "$n$-coloring" associates one of $n \ge 1$ colors to each vertex in such a way that no edge ...
22
votes
7answers
779 views
Splitting words into specific fragments
I am looking into splitting words into a succession of chemical elements symbols, where possible. For example:
Titanic = Ti Ta Ni C (titanium, tantalum, nickel, carbon)
A word may or may not be ...
10
votes
3answers
316 views
Simpler way to fill date gaps with zero values
One basic problem when working with data like sales and dates is the case where you dont't have sales in all days, so you have to fill it to take information as average or to make a plot. See this toy ...
7
votes
8answers
325 views
Thread over list in different levels
I have these two lists, both with the same length in the first dimension:
...
8
votes
1answer
447 views
Poisson solver using Mathematica
I am looking for some help with a Poisson solver I am writing in Mathematica. The code is quite long with Arrays plugged in, so the full details can be found at http://pastebin.com/uSrSDcW6
I am ...
6
votes
2answers
322 views
Elegant way to handle columns operations
Inspired by this question from @sjdh and by my recurrent use of columns operations in database sets, I was looking for one way to make columns operations more symetric, so I can handle with matrix and ...
3
votes
1answer
124 views
Feedback on my Subscript code
I have written a code, and I need a little feed back..
I want to make the Subscript distributive across (1) addition and (2) multiplication to mimic short-hand for ...
2
votes
2answers
319 views
How to fix BodePlot that comes with Mathematica?
I am using Mathematica to go through the examples and exercises on the book Modern Control Systems by Dorf, 6h edition. On page 605, there is a table (Table 8.5) with the Bode plot for several ...


