473,327 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

pattern recognition

hi i have an assignment about the topic above. thus finding out all the
possible lines aviable among a set of points given (x,y).
1. how do i write all the line without repeat them (each line is
written once)

Mar 16 '06 #1
1 1836
On Thursday 16 March 2006 07:28, eddkay opined (in
<11**********************@z34g2000cwc.googlegroups .com>):
hi i have an assignment about the topic above. thus finding out all
the possible lines aviable among a set of points given (x,y).
1. how do i write all the line without repeat them (each line is
written once)


Your question really belongs to comp.programming, but...

Think about what uniquely defines a line: f(x) = A*x + B. So, you start
looking for lines defined by all your points, storing As and Bs as you
go along, but only if you didn't find the same pair earlier. Once
finished, you have a neat set of line coefficients.

Caveat: As and Bs are real numbers (in maths sense), but you're going to
be dealing with floating point numbers. The former are not always
exactly representable as the latter. You may need some "fuzziness"
factor (or a better idea than mine).

--
BR, Vladimir

I want to buy a husband who, every week when I sit down to watch "St.
Elsewhere", won't scream, "Forget it, Blanche... It's time for Hee-Haw!"

Mar 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: CJ Oxx | last post by:
I have a problem with browser charset recognition when using PHP 4.1.2 (this is the PHP version which our hosting company provides). For charset recognition, I use the following meta-tag: <meta...
6
by: cybit friendly | last post by:
Hi I'm stuck due to lack of knowledge. Problem: I'm scanning through Array1 to find the closest match to Array2 within Array1. At the moment I'm using a method that can best be described as...
6
by: BCC | last post by:
What is the best way to find out how many times a pattern is matched in a string? For example if I have: std::string s = "AAAAABBAAAABBAAAABAAABB"; I want to know how many "BB" patterns there...
5
by: Rod | last post by:
About two weeks ago I had an accident and have broken my left elbow and left wrist. For doing things like Word or e-mail (I use Outlook for) I have been using Microsoft's speech recognition and...
1
by: Junior | last post by:
Hi guys. I want to incorporate voice recognition in a new .NET application I'm developing. I would like to recognize among a group of 30-40 words. But I would also like to avoid using 3dr party...
1
by: Meena | last post by:
In our company we are trying to add speech recognition to our products. I downloaded the Speech Recognition engine. Now there is a component called Microsoft Direct Speech Recognition in VB.Net...
4
by: Ian Dickinson | last post by:
Hi My name is Ian Dickinson and I am a professional software developer working in the UK and reasonably familiar with Python. However a friend of mine who is a special educational needs teacher...
0
by: kalroche | last post by:
looking for expertise on a speech recognition project for thesis presentation My intention is to have speech recognition for product location for a grocery stores. What would be the best database...
0
by: daveftl | last post by:
Hi to all, can anyone help me by sharing there knowledge about pattern recognition using VB6...is there a Component or tool that can do the work?...im going to do pattern recognition on an...
1
by: deluxmilkman | last post by:
Is it possible to integrate Mac`s built in speech recognition feature ()or any other speech recognition software) into flash? I am trying to make a speech recognition based flash application. It...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.