Re: Turning a Sequence into a List? #403 (4/28/2013 4:58:48 AM) comp.soft-sys.math.mathematica > Hello, I'm playing with a problem with minimum coins to make change.
> Here's a problem spot where I look at ways to make up 52 and 53 cents
>
> (later I'll use v = Range[1,99].
Hi. This doesn't qui... Dana
Re: Numerical expression #2018 (11/28/2012 8:16:31 AM) comp.soft-sys.math.mathematica > ( ( 9(3)^1/2+4(23)^1/2)^1/3 + (9(3)^1/2+4(23)^1/2)^1/3 ) / (3)^1/2)
Hi. Just to add to the others, if we "Assume" the following
k = (9*Sqrt[3] + 4*Sqrt[23])^ (1 / 3) ;
// Or...
k=k//FullSimpli... Dana
Re: non optimized inner for loops08 (11/26/2012 4:38:10 AM) comp.soft-sys.math.mathematica
Hi. I don't have any great solutions, but here's just an observation.
> For[k = 1, k zz = 1/2 (mat8[[i, j, k, 1]] + mat8[[i, j, k, 2]]);
In this loop, you are calculating the Mean for All k's, ... Dana
Re: correlation function #308 (11/24/2012 7:29:33 AM) comp.soft-sys.math.mathematica > ListConvolve and ListCorrelate should give same results when given right parameters.
Hi. They are very similar, but they do work differently.
It would help if you gave a 'small' example of what you ar... Dana
Re: Removing rows from a table #3014 (11/22/2012 12:50:35 AM) comp.soft-sys.math.mathematica Hi. Here's just another idea.
Here's some data with months 1 thru 8.
We'll remove months 2,4,6.
data =
{
{"01/01/2010 06:15",1,2,3,0,0,0},
{"02/05/2010 07:15",4,5,6,0,0,0},
{"03/07/2010 08:15",7,8,9,... Dana
Re: maximization with array of constraints #2028 (10/12/2012 4:08:33 AM) comp.soft-sys.math.mathematica > . . . my data is an array with two columns and 100 rows, I would have 100 constraints. . .
Hi. Just some fun food for thought. ;>)
Your 2-variable linear constraints makes it a little special.
If you... Dana
Re: pattern matching032 (10/6/2012 6:06:33 AM) comp.soft-sys.math.mathematica > Count[Table[RandomInteger[], {n}], 1]/n, {n, 100, 1000, 10}], x_ )
Dana DeLouis
Mac & Mathematica 8
= = = = = = = = = =
On Friday, October 5, 2012 2:43:42 AM UTC-4, Daniel S wrote:
> Consider the... Dana
Stuck solving recurrence formula124 (4/6/2012 10:03:13 AM) comp.soft-sys.math.mathematica Hi there,
I am stuck with the following recurrence problem to solve in Mathematica. I have tried various ways and most recently RecurrenceTable[] but I have not been successful and I can't figure out why.
A... ebegreen(1)
computing derivatives and limits145 (4/13/2012 8:50:42 AM) comp.soft-sys.math.mathematica Consider the function:
f[x_] := Cos[Sqrt[x]]
This is an analytic function and of course Mathematica knows its Taylor series:
SeriesCoefficient[f[x], {x, 0, n}]
Piecewise[{{(-1)^n/(2*n)!, n >= 0}}, 0... akozlowski(174)
convolution involving UnitStep530 (4/19/2012 7:56:22 AM) comp.soft-sys.math.mathematica h[t_] = Sin[t];
g[t_] = 2 UnitStep[t] - UnitStep[t - 1];
y[t_] = Integrate[h[t-s]g[s],{s,0,t}]
results in a conditional expression requiring t>1, but I want to
evaluate and plot t values from [0,1] as wel... texasAUtiger(55)
Question about DayOfWeek233 (4/24/2012 9:37:43 AM) comp.soft-sys.math.mathematica DayOfWeek[{1975,1,1}]==Wednesday gives True (as it should), but DayOfWeek[{1975,1,1}]==Thursday gives
Wednesday == Thursday and not False, as it should? Why is it so?
... KHO(13)
About linear programming323 (4/25/2012 4:35:55 AM) comp.soft-sys.math.mathematica Hi,
I attempt to solve these linear programming problems in Mathematica,
but its result is "Maximize::natt: The maximum is not attained at any
point satisfying the given constraints", why? I've solved this... mavima10(1)
moving average function640 (4/30/2012 8:42:12 AM) comp.soft-sys.math.mathematica Below is a moving average function that has the following features:
1. returns a list with the same length as the original length
2. provides a reasonable estimate for averages on the "sides" of the
window.
... rtmphone09(5)
unexpected behaviour of Sum632 (5/14/2012 5:34:32 AM) comp.soft-sys.math.mathematica I do not want to say that this is a bug, however I did
not find, in the Sum documentation, an explanation of this
behaviour (v8.0.4)
I defined an innocent function like
sod[n_]:=Plus@@IntegerDigits[n]
th... yudumbo(4)
Fourier DFT scaling problem434 (5/22/2012 9:20:22 AM) comp.soft-sys.math.mathematica Hi all.
I hope someone can help me with what seems to be a fairly elementary problem, nevertheless I have spent a good deal of time trying to come to a solution without any success. I am fairly new to the F... arth_e(1)