Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Twitter Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Buy Mathcad Now
• View Mathcad Pricing
•  Download a Demo
•  Request a Brochure
• Download a Brochure
• Find out about Training
• Meet Our Team
• Read our RSS Feeds

Learn More

Mathcad Home
Compare Mathcad 15
and Mathcad Prime 1.0

Version Comparison Chart
Mathcad's Mathematical
Functions

Mathcad Enterprise
Mathcad for Education
Rave Reviews
Add-ons

System Requirements

Latest Information

New Features in Mathcad
Prime 1.0

Mathcad Prime 1.0 movie
New Features in Mathcad 15
Using Mathcad and Excel
Engineering Application
Packs

Return on Investment

Service & Support

Patches & Downloads
Frequently Asked Questions
Search the Knowledge Base
Join the Discussion List
Search the List Archive

List Archives >  Mathcad List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[mathcad] RE: One Question

Search email archive for  

[mathcad] RE: One Question
Author: Oakley, Philip SELEX UK    Posted: Mon, 13 Mar 2006 09:23:31 +0000

first Sort() it, then do a simple comparison between adjacent elements. This produces the data_values you want. You can count them at this point if you wish
Then use Match (on the original vector, data_values ) to get a vector of their locations.

Philip

-----Original Message-----
From: koko koko /> Sent: Saturday, March 11, 2006 6:30 PM
To: Mathcad Discussion List
Subject: [mathcad] One Question


*** WARNING ***

This mail has originated outside your organization,
either from an external partner or the Global Internet.
Keep this in mind if you answer this message.

Hey

I want a mathcad program :

I have a vector of 100 numbers
I want to find if there are any number that is repeated twice or more . Then I want to extract these numbers in a new vector and count them.
I tried to write a program but it didn't work

Any help.
Thanks
Andrew Philip



_____

Yahoo! Mail
Bring photos to life! New <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail.mail.yahoo.com> PhotoMail makes sharing a breeze. --- The Mathcad List - Discussion, Support & News Contributions: Hosted by: Adept Scientific http://www.adeptscience.com List Archive: http://lists.adeptscience.co.uk/ --- Would you like this to come to a different email address? --- Simply leave the mailing list (see below) and re-join by sending a blank email from the new address to: or --- If you do not want to be on the Mathcad list, simply send a blank email (no subject or message needed) to: />


********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************


---
The Mathcad List - Discussion, Support & News
Contributions: /> Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>

[mathcad] Re: One Question
Author: Sven Lindhardt    Posted: Mon, 13 Mar 2006 12:10:38 +0100
Hey,
The attached file might be useful. It is in MathCad 11 format.
Regards
Sven Lindhardt

----- Original Message -----
From: koko koko
To: Mathcad Discussion List
Sent: Saturday, March 11, 2006 7:30 PM
Subject: [mathcad] One Question


Hey

I want a mathcad program :

I have a vector of 100 numbers
I want to find if there are any number that is repeated twice or more . Then I want to extract these numbers in a new vector and count them.
I tried to write a program but it didn't work

Any help.
Thanks
Andrew Philip

 Attachments:
 Duplicates.mcd


[mathcad] Re: One Question
Author: Chris Whitford    Posted: Tue, 14 Mar 2006 09:12:25 +0000
If you prefer a "traditional" Mathcad approach rather than a program, look
at the attached worksheet.

Chris

At 10:30 11/03/2006 -0800, you wrote:
>I want a mathcad program :
>
>I have a vector of 100 numbers
>I want to find if there are any number that is repeated twice or more .
>Then I want to extract these numbers in a new vector and count them.
>I tried to write a program but it didn't work

 Attachments:
 Duplicates.mcd


Previous by date: [mathcad] All possible pairings of two sets of complex varaibles, Bill Dumke
Next by date: [mathcad] Re: All possible pairings of two sets of complex varaibles, Chris Whitford
Previous thread: [mathcad] One Question, Koko Koko
Next thread: [mathcad] Re: All possible pairings of two sets of complex varaibles, Chris Whitford



Ready to buy?

Mathcad 15 (with 1 year maintenance) - includes FREE Mathcad Prime
Add to shopping basket
£ 970.00
Upgrade to Mathcad 15 individual licence from v14 single user licence - includes FREE Mathcad Prime
Add to shopping basket
£ 220.00
Upgrade to Mathcad 15 individual licence from v11, v12, v13 single user licence - includes FREE Mathcad Prime
Add to shopping basket
£ 290.00

Featured Downloads

Mathcad Prime 1.0 Datasheet
Mathcad Prime 1.0 and Mathcad 15 Comparison Chart
Mathcad Prime 1.0 Demo
Mathcad or Excel?
Mathcad Customer Story: Man B&W Diesel
Mathcad Customer Story: Stork Fokker Aerospace

Latest Downloads

Application Example: Faster Physical Modelling for Mathcad users
Mathcad Case Study - Breakthrough in Water Treatment Technology
Mathcad Whitepaper - Best practices in product development: Design studies & trade-off analyses
Mathcad 15 - New Design of Experiments Demo
Mathcad Prime 2.0 Pre-Launch Interview

Latest News

Mathcad Case Study - Breakthrough in Water Treatment Technology
PTC Recognizes Adept Scientific
PTC recognises Adept Scientific’s Mathcad quality
PTC recognises Adept Scientific’s Mathcad quality
PTC launches Mathcad® Prime 1.0™
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2012, Adept Scientific plc.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055