473,574 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Algorithms / Advanced Math Forum

2
2,026
thread by: MoeketsiM | last post Jan 8 '13 by: dianagaby2002
Which method is better and more efficient than the other, to choose a pivot randomly or to choose it by selecting three indexes (index 0, index n/2 and index n) and taking the middlemost number between the three?
2
1,834
thread by: mypassisgreg99 | last post Mar 5 '13 by: swapnali143
I need to convert the size of a Mobile phone pixels into mm the screen size is 800x480 pixels
9
3,600
thread by: keydrive | last post Mar 5 '13 by: rampdv
Hi, I need a regular expression for capturing the first alpha string in a document not necessarily on the first line match first instance Here is a few tried permutations *
1
1,663
thread by: daniyal1122 | last post Mar 5 '13 by: Rabbit
write an alogrithm to find out average milage per liter?
1
1,705
thread by: lyzeth | last post Mar 26 '13 by: Rabbit
How many random people do you have to select before you find three people who share the same birthday? That is, all three people were born on the same day in the same month, but not necessarily in the same year.the month and day should appear but i don't know how to do it.. can you help me?
0
1,403
thread by: jojo6620 | last post Apr 14 '13 by: jojo6620
Hello, Can someone please help me determine the Matlab code that we required in order to produce a Matlab figure of the pattern I have attached. This is a somewhat helical like graph. I have been breaking my head over this and haven't got anywhere useful. Any help would be greatly appreciated. Thanks so much.
2
1,458
thread by: depster | last post May 16 '13 by: smashicoder
#include<stdio.h> #include<time.h> #include<conio.h> #include<assert.h> int main() { clock_t start, stop; int n,i,j,temp,a; scanf("%d",&n);
1
2,032
!NoItAll
thread by: !NoItAll | last post May 20 '13 by: Oralloy
So I am wondering if I am just going to wind up with a useless control. My goal is to try to measure jitter without having to put a process in place on the server side. Instead I am trying something fairly simple - an FTP file download. I can get accurate "bits per second" on every packet. When I graph it it will look like this: ...
1
1,812
thread by: depster | last post May 23 '13 by: Nepomuk
which sort is best for sorting numbers upto 10^6 and each number is upto 10^6 large?
0
1,381
thread by: stdq | last post Jul 20 '13 by: stdq
Hi, everyone. I am developing an application to simulate signal processing, and I would like to generate a channel that introduces distortion to a signal. I would like to generate the coefficients of the z-transform of the channel in a random fashion, but what is the possible range of values for each coefficient? Would it be the real values from 0...
0
1,264
thread by: karimkhan | last post Aug 15 '13 by: karimkhan
I want sentiment based category wise dictionary which categories words like fruits, vehicles, conjunctions, articles etc. Dictionary which categorize negative and positive words are available easily but this I could not find out.
1
1,514
thread by: arkanX | last post Aug 31 '13 by: arkanX
Can someone please help me with this question. I'm unsure as how to get the function to error when N<2... i really need help!!!
2
3,967
thread by: sankar2011 | last post Sep 3 '13 by: sankar2011
Please see the attachment also! Assumptions: 1>n nodes and m edges are there in the Graph V. V may directed or undirected both. 2>Weights of all the edges are non-negative finite numbers. What the Dijkstra algorithm does: ------------------------ It finds all the shortest paths from a particular node s to all other vertexes.
1
1,798
thread by: Vivek Sethia | last post Sep 4 '13 by: Nepomuk
Finding 5 missing numbers from array of 1 million numbers ( array can be any order but there is no repeated numbers )
0
1,560
thread by: tristancohn | last post Sep 12 '13 by: tristancohn
i have a waveform: y2(x)= sin(x*1.2)+sin(x*1.8 ) the first 6 nodes, meaning the parts of the wave where y2=0 come up on my graph at around x = 2.094 4.189 5.236 6.283 8.377
0
3,607
thread by: sankar2011 | last post Sep 13 '13 by: sankar2011
Claim: There may be only one sorted alignment in decreasing/increasing order such as X1, X2, X3,...... when X1, X2, X3 are distinct numbers PROOF IS DONE FOR DECREASING ORDER ONLY. SIMILARLY IT MAY BE PROVEN FOR INCREASING ORDER Proof: X1, X2, X3,...... is decreasing. We call this as order 1
2
6,740
thread by: sankar2011 | last post Sep 20 '13 by: sankar2011
Last time I gave the mathematical reasoning to prove Dijkstra's algorithm. This time I am giving a possible implementation for Kosaraju's algorithm which finds the strongly connected components in a directed graph. Short form of "strongly connected components" is SCC The intent of the program. ========================== The program finds...
0
1,840
vindy
thread by: vindy | last post Sep 27 '13 by: vindy
Hello everyone. I am new here and I am sorry if a topic like this has already been posted, but I am taking a graduate level course in Design and Analysis of Algorithms this semester and I pulled a real hard ass of a professor, the kind you pray you don’t get for a class like Algorithms but which if you are unlucky enough to get it will be in just...
1
5,424
thread by: Masego Busumane | last post Oct 16 '13 by: Nepomuk
I want to write a pseudo code for calculating standard deviations using several functions like calculating mean and the sum of difference squared. how can i do it
2
2,322
thread by: Etchira | last post Oct 20 '13 by: Nepomuk
What is the expected number of coin flips for getting a head?
0
2,080
thread by: samg123 | last post Nov 7 '13 by: samg123
Hello, Thank you for helping me with this. I need to design an algorithm for the following. From the table below, I want to find out a set of 7 names that gives the largest sum of marks possible with keeping the total fees less than 4000. Just to be clear, here is the problem in different words. Desired output: Set of 7 names...
5
5,289
thread by: jork | last post Nov 11 '13 by: Banfa
Hi, I have to solve the following problem: given a set of n points, an integer d and a mxm 2D grid, find whether it is possible to place a point P such that the (Manhattan) distance between P and each point of the set is inferior to d. Doing a DFS from each point, I think it is possible to solve it in O(nm²), but I'm asking myself how to do...
0
2,354
thread by: shimpy gupta | last post Nov 19 '13 by: shimpy gupta
as we know that duplicates nodes are accepted in heap tree. but i want to know the reason that why it is only done in heap tree? not other tree?why in heap tree
0
2,468
thread by: Nagsaver | last post Dec 9 '13 by: Nagsaver
Hi, I have generated a quadtree algorithm to trace singularity curves of a parallel manipulator having known the singularity functions already in C++.Now that I have got the curves,how do I check the correctness of the curves as in something like RMS value.I am asking this because the function returns both real and complex values and I am not...
1
2,765
thread by: Aladdin1 | last post Dec 23 '13 by: Rabbit
I am an experimental research engineer working on a Laser experiment. The details do not matter but due to practical limitations my data is influenced by the following transformation during data acquisition, and I was wondering if there is a mathematical method or an algorithm to "undo" its effect on the captured signal, that is to get the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.