COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register
dana01 (109) 59 Articles, 50 Replies, 109 Points
Stats Updating... 12/19/2013 2:59:00 AM

Since 5/24/2012 1:55:54 AM, dana01 has written 59 articles and participated in 50 conversations.
dana01 signature:
dana01

dana01's articles:
 Items(59) /6 Next >> Last >| Re: Turning a Sequence into a List? #4 0 17 (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 #2 0 30 (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 loops 0 22 (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 #3 0 19 (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 #3 0 24 (11/22/2012 12:50:35 AM) comp.soft-sys.math.mathematicaHi. 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: Euclidean distance of all pairwise combinations (redundants) 1 20 (11/17/2012 8:51:26 AM) comp.soft-sys.math.mathematica> Any ideas on how to get the euclidean distance between all the points including redundants and self references? Just for fun, and to add complexity, heres one more but with the output in table form. ...Dana Re: FindInstance question? Any ideas to solve this equality. #2 0 40 (11/5/2012 1:17:58 AM) comp.soft-sys.math.mathematicaHi. I might hold off inserting machine numbers until later. Here's one idea: data={ radiusV1->145.98630072715727, radiusV2->95.62128455180272, slopeV1Deg->9.462322208025617, slopeV2Deg->18.43494882292...Dana Re: How can I solve this equation with Solve or Reduce or whatever for 0 23 (11/4/2012 4:43:47 AM) comp.soft-sys.math.mathematica> ArcTan[Tan[Degree*(180 - 1.5267134447254718*(18.43494882292201 + > 360*NoOf360Rotations))]] == 0.23101849674392247 > Only want Integer return of NoOf360Rotations AND to equal 108 Hi. Another way mig...Dana Re: maximization with array of constraints #2 0 41 (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 matching 0 43 (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

dana01's replies:
 Items(41) /5 Next >> Last >| unexpected behaviour of Sum 6 41 (5/14/2012 5:34:32 AM) comp.soft-sys.math.mathematicaI 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) moving average function 6 59 (4/30/2012 8:42:12 AM) comp.soft-sys.math.mathematicaBelow 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) About linear programming 3 32 (4/25/2012 4:35:55 AM) comp.soft-sys.math.mathematicaHi, 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) Question about DayOfWeek 2 44 (4/24/2012 9:37:43 AM) comp.soft-sys.math.mathematicaDayOfWeek[{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) convolution involving UnitStep 5 53 (4/19/2012 7:56:22 AM) comp.soft-sys.math.mathematicah[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) computing derivatives and limits 1 61 (4/13/2012 8:50:42 AM) comp.soft-sys.math.mathematicaConsider 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 (200) Stuck solving recurrence formula 1 37 (4/6/2012 10:03:13 AM) comp.soft-sys.math.mathematicaHi 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) Find common elements in a list of sublists 4 44 (4/3/2012 8:44:49 AM) comp.soft-sys.math.mathematicaSuppose I have a list of sublists: d={{1, 19}, {1, 23}, {1, 5, 25}, {1, 17}, {1, 11}, {1, 5}} How do I find the elements common to all the sublists? I can do it using intersection: Intersection[dx[[...travlorf (12) Fourier DFT scaling problem 4 51 (5/22/2012 9:20:22 AM) comp.soft-sys.math.mathematicaHi 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) Trying to recursively define a double factorial 2 46 (5/16/2012 8:23:50 AM) comp.soft-sys.math.mathematicaMy goal here is to define a recursive function for a double factorial. The domain of this function is the set of positive integers. For a positive even integer n the value DF[n] is the product of all positi...monsterbone (1)