How tom take an average of file when i have three different values

Dear all,
I have a file with five column,                                                              
A    B                      C    D    E               
2    1.23375E+17    30    31    2              
2    2.04196E+17    0      32    2               
2    2.31994E+17    0      33    2               
2    2.01626E+17    30    33    2       
2    1.79445E+17    0      34    2          
I want to take an average of  B for D= 0 to 15,,, 16 to 30, ,, 31 to 45, 46 to 59,, anf E= 0 ,2,3,4,5,........ 23,
for A = 2, 3, 4, 5, ......32..
here is programme and file.
Solved!
Go to Solution.
Attachments:
iisc0040-1014.txt ‏1489 KB
average15mins.vi ‏11 KB

I aapreciate with you sir,
 acually my problem is differenet, i repeat it belowe.
A    B                      C    D    E               
2    1.23375E+17    30    0    0              
2    2.04196E+17    0      1    0              
2    2.31994E+17    0      2    0              
2    2.01626E+17    30    3    0      
2    1.79445E+17    0      4    0        
1-Column A having the value of no of system which start from 2 to 32,,
2- colum D having the minutes which is start from 0 to 59.
3- colum E is hour Which varies from 0 to 23.
now i want to keep system (Column A) constant at 2 and for 0 hour ( Column E).. and want to take the average of Values (Column B). For 0 to 15 , 16to 30 , 31 to 45, 46 to 59 ,,,minute (column C).
Means I will have 4 value for each hour,
means i want to put first lup where Column A is constant for 2, at the same time second lup inside the first lup Having the constant value of Column 2.  and at third lup  take the avergae of value B for each 0 to 15, 16 to 30, 31 to 45, 46 to 59,..
hope you will help me regarding this,

Similar Messages

  • How can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?

    how can i do with labview program,when i have   20 different values,and 1 want to add it with constant value.and how to get the results?

    Why do the 20 values have to be different? The same code should work even if some are equal.
    What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
    What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
    LabVIEW Champion . Do more with less code and in less time .

  • HT1296 How do you sync iphone and PC when you have two different iphones/users?

    How do you sync iphone and PC when you have two different iphones/users in house? I just tried to sync my iphone and cancelled sync becauase I saw it was updating my phone with my husband's apps! How do I make it so that sync can distinguish between my and my husband's phone?

    I sync two iPhones and an iPad with one iTunes library on the same computer and each device has different content. Each device has its own sync preferences with iTunes. You can transfer the same music and apps to each device or different music and apps.
    Are you sharing the same Apple ID or iTunes account?

  • How can i register my xml file when i have no xsd ?

    For given xml data.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE metadata SYSTEM "http://www.fgdc.gov/metadata/fgdc-std-001-1998.dtd">
    <metadata>
    <idinfo>
    <citation>
    <citeinfo>
    <origin>MRF</origin>
    <pubdate>20040512</pubdate>
    file is large this is a sample.
    I am inserting using xmltype without registering schema.
    using this method,it is working fine.
    CREATE TABLE xml_table OF XMLType;
    INSERT INTO xml_table
    VALUES (XMLType(bfilename('XMLDIR','Test_xml.xml'),
    nls_charset_id('AL32UTF8')));
    Can you suggest a way to register above xml using below mentioned method given in samples?
    BEGIN
    DBMS_XMLSCHEMA.registerschema('http://www.oracle.com/person.xsd',
    '<schema xmlns="http://www.w3.org/2001/XMLSchema"' ||
    ' xmlns:per="http://www.oracle.com/person.xsd"'
    etc. and
    CREATE TABLE foo OF XMLType
    XMLSCHEMA "http://www.oracle.com/person.xsd" ELEMENT "person";
    Can I register schema for my xml file which does not have xsd format this way, if yes how??
    Please suggest.

    The main purposes of registering a schema, depending upon how you register it, are to create objects within Oracle to have the XML stored in and to use to validate XML against.
    If you are trying to validate the XML, then you need to register the DTD from http://www.fgdc.gov/metadata/fgdc-std-001-1998.dtd. (If possible, I would suggest to convert the DTD to an XSD before registering it given that DTDs are outdated now)
    You can find examples of registering schemas in the FAQ at the {forum:id=34} forum. Assuming your DB version meets the requirements, any registration questions should be posted in that forum. You can also search that forum for registerschema and find many examples as well.

  • How do I find bad music files?  I have thousands of files, but some are bad.  When I try to load them into iTunes, it just spins.  I need a routine to identify and remove the bad files.  Any ideas?

    How do I find bad music files?  I have thousands of files, but some are bad.  When I try to load them into iTunes, it just spins.  I need a routine to identify and remove the bad files.  Any ideas?

    Hi ajoddo20,
    Welcome to the Apple Support Communities!
    You can use Home Sharing to import music and other media from one computer to another. Please use the instructions and information located in the attached article for information on how to complete the process. 
    iTunes 11 for Mac: Use Home Sharing to import items from another iTunes library
    Cheers,
    Joe 

  • How do I split a pdf file when the file size is too large?

    How do I split a pdf file when the file size is too large?  Thanks!

    With Adobe Acrobat.  It can also optimize your document to make the size smaller.

  • How do I read a winmail file when it is attached to an e-mail?  It doesn't open the right way in Excel on my iMac.

    How do I read a "winmail" file when it is attached to an e-mail?  It doesn't open in Excel on my imac, just code...help! 

    Winmail is for Windows only. Excel does not open emails.
    Ask the sender to send the file in a more up to date format.

  • HT1926 My installation of Itunes to syne my iphone with PC was missing AppleApplicationSupport.msi  after 2 installs how can I install such a file do you have a path for this

    My installation of Itunes to syne my iphone with PC was missing AppleApplicationSupport.msi  after 2 installs how can I install such a file do you have a path for this

    Hi kensb!
    I would recommend that you attempt to reinstall all of the programs and components of iTunes on your machine and reinstall everything again. It can be tricky to get everything uninstalled, so we have an article that can help you make sure you uninstall everything:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/ht1925
    or
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/ht1923
    Specifically, when it comes to uninstalling, you will want to uninstall applications in this order:
    Use the Control Panel to uninstall iTunes and related software components in the following order. Then, restart your computer.
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended effects.
    You will then want to follow the links in those articles to download the latest package of iTunes software for your computer and install again from there. Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • HT204053 My family owns 3 computers, how can we share, or better yet, centralize our music when we have 3 different apple ID?

    My family owns 3 computers, how can we share, or better yet, centralize our music when we have 3 different Apple ID?
    How can we sync all 3 computers music content on itunes Match? Even when only one purchases music?

    Welcome to the Apple Community.
    To begin with, I would like to try to explain Apple's confusing nomenclature in regard to iCloud.
    Apple have called the whole cloud thing iCloud, there are a number of features under the iCloud umbrella, some of which require their own login. iTunes is one of these, another is what Apple have unfortunately also called iCloud.
    You can use the same Apple ID (account) to login to both iCloud and iTunes, but you don't need to and often users will login to each service using a different ID.
    The part that you need to remember is that the services available when you log into iCloud are completely different and unrelated to those when you log in to iTunes. Your iCloud login enables mail, contacts, calendars, find my phone, Back to My Mac, Documents & Data sharing and photosstream, it does not affect any of your iTunes services.
    To avoid confusion when discussing your problem, when I mention iCloud, I am referring to the services under the iCloud login, Whereas I will refer to the whole cloud thing as The Cloud.
    If only one of you purchases content from iTunes (this includes Books and apps too) then I suggest you use that account for each of you for iTunes only.

  • How to stop the prodution order creating when the product is not valued?

    Hi guyes:
    How to stop the prodution order creating when the product is not valued using CO01?
    I hope that when i create the production order,the system will check the product is valued or not,if not
    the system will show an error or warning message!
    How to config for this?
    Thank you!

    Dear Zhao Gang,
    Check with this user Exits mentioned in this link,
    Prevent Production Order from "Release" if there is no Cost Estimate
    Re: User Exit at Production Order Release
    Check and revert back.
    Regards
    Mangalraj.S

  • How can i open my iphone 4s when i have forgotten my passcode ? without deleting everything on it

    how can i open my iphone 4s when i have forgotten my passcode ? without deleting everything on it

    Put it in recovery mode to restore, you'll get the option to reset the passcode during this process.
    iOS: Wrong passcode results in red disabled screenand iOS: Recovery mode
    If you have previously synced your device with iTunes
    You may be able to reset the passcode by restoring the device.
    Connect the device to the computer with which you normally sync and open iTunes.
    Note: If iTunes prompts you to enter the passcode, try another computer that you have synced with. Otherwise, go to "If you have never synced your device with iTunes", below.
    Right-click the device in the left column and select Back up.
    When the backup is complete, select Restore.
    When finished, restore from your most recent backup.
    If you are using Find My iPhone, you can use Remote Wipe to restore your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode.
    Message was edited by: Ingo2711

  • How do I download lightroom 5? when I have purchased it and recieved my serial number.

    how do I download lightroom 5? when I have purchased it and recieved my serial number.

    Get the latest version of LR 5, which is 5.4, from the Adobe Updates page:
    http://www.adobe.com/downloads/updates

  • HT4064 how to do you stop the issue when you have to click several times on your ipad to get into anything?

    how to do you stop the issue when you have to click several times on your ipad to get into anything?

    I think you have enabled VoiceOver; turn off VoiceOver
    1. Press the Home button
    2. Tap Settings.
    3. Then double-tap Settings.
    4. Tap General.
    5. Then double-tap General.
    6. Use three fingers on the screen to scroll to Accessibility
    7. Tap Accessibility.
    8. Then double-tap Accessibility
    9. Tap VoiceOver
    10. Then double-tap VoiceOver.
    11. Tap "On" next to VoiceOver
    12. Then double-tap "On" to turn it off.

  • Does ipad support all my MS Office docs and files when I have switched from PC to Mac?

    Does iPad support all my MS Office docs and files when I have switched from PC to Mac?

    A simple sreach on the App Store in iTunes will bring up dozens of them for you to choose from.
    Allan

  • I have three different listings for Bob Seger on my iPod (bob Seger, Bob Seger System and Bob Seger and The Silver Bullet Band) How can I put all 3 in the same artist folder without changing artist name?

    I have three different listings for Bob Seger on my iPod (Bob Seger, Bob Seger System and Bob Seger and The Silver Bullet Band) How can I put all 3 in the same artist folder without changing artist name?

    Can you just create a new "Playlist", name it Bob Seger and drag what you want into the Playlist.
    File/New Playlist

Maybe you are looking for

  • CSS Design question

    Hi All, I have a couple of questions around the CSS 11501 would be grateful if any gurus out there cud shed more light, here goes; -Does the CSS support bridging between 2 vlans? In a similar way to the CSM. What command might be used to achieve this

  • ODI 11g Metadata Manager

    Hi experts! I'm trying install and test ODI 11g metadata manager. I have installed it and deployed. At least status in weblogic console for ODI Metadata manager application is deployed. But I cant find in doc what is the default link and port for thi

  • Iso Apps disappeared from iTunes on my Windows 7 PC after installing the recent iTunes update.

    I can not see my apps in the latest version of iTunes on my Windows 7 computers. Moreover, when I connected my iPhone, iPad, etc. to the PC, iTunes did not recognize the iOS devices (wants to erase iPad/iPhone and sync to computer) even though this i

  • Problem of account assignment

    When we have a purchase command of 3 elements, and we select distribution by percentage in the account assignement part, it automatically attributes 33.3 for each line. But 33.3 * 3 gives only 99.9 and not 100. How to allocate to have 100% correctly?

  • FMS not restarting when rebooting

    Hi Everyone I have a problem when rebooting the computer: Flash Media Server will not restart automatically after rebooting. During installation I've set the server to run as a daemon, yet it doesnt seem to start up automatically. It's a bit strange