Decimating a Signal While Keeping The Same Signal Length?

Hi, 
I would like to know if it is actually possible to do the above. 
I'm currently working on wavelet based multiresolution analysis using LabVIEW Student Edition, which unfortunately doesn't have all the toolkits and Express VIs available for me to use. Attached is a VI I have created (Daub4.vi), and screencaps showing the results of the decimation. 
What I'm trying to do is to decompose the signal by 8 levels, each time dividing the sampling rate by 2, done using decimate 1d array. However, in terms of keeping the signal length the same, I'm not too sure if I should actually manipulate the dt value or simply just use the waveform graph scaling factor to do the job. Some advice would be welcome. 
Also, another problem I have is pretty weird:
I'm trying to extract a part of a very large ECG signal (1 second = 64 samples, sampling rate = 2048Hz, I have about 10 minutes of data), selecting from 40960 samples to 65536 samples. However, upon output, the waveform graph only shows up to 65535 samples instead of 65536. Is this supposed to be normal?
Thanks,
Derren
Attachments:
l1l2.png ‏53 KB
l3l4.png ‏48 KB
Daub4.vi ‏24 KB

Derren,
Exactly what do you mean by dividing the sample rate while keeping the signal length the same? Do you want the number of samples to be the same or the time duration of the total signal to be the same? Since you did not post the top level VI, I cannot tell what you are doing with the data.
Also your last comment does not make sense.  "1 second = 64 samples, sampling rate = 2048Hz".  If you have 64 samples in one second, that is a sampling rate of 64 Hz, not 2048 Hz.  Neither rate produces 65536 samples in ten minutes. 60 s * 10 min * 64 Hz = 38400 samples. At 2048 Hz you get 1228800 samples. By today's standards those are not particularly large datasets.
In LabVIEW arrays are indexed from zero so the last element in a 65536 element array has index 65535.
Lynn

Similar Messages

  • How to make a transparent object fully opaque while keeping the same color appearance?

    for a single object in a document.
    I will greatly appreciate your help.

    Flatten transparency on a copy and take the color with the eyedropper? Any better way?

  • Rename externally created dimension (FCM) and keep the same ID

    Hi,
    Urgent, need your help !
    I'm facing an issue regarding renaming externally managed dimensions (from FCM).
    Currently if i rename a dimension using third part tool, then FCM create a new entry into my "data/state/autogen_dimension.xml" file
    with a new ID and the previous one is kept. So i'm having data consistency issue.
    How can i update  dimensions and dimension values (externally managed) keeping previous ID please ?

    FCM and Externally Managed Dimensions are two separate features. 
    If your dimension is being created by FCM and you want to change the name of the dimension itself while keeping the same ID, I think you'd need to go into ./data/state/fcm.dvals.xml[.gz] and ./data/state/fcm.conflicts.xml[.gz] and rename there, as well as change it in your FCM data feed (where you pass in the dimension schema).  If you are actually talking about EMTs, I'm not sure - possibly the same approach.  Certainly just renaming them in the data feed/schema would assign a new ID as the logic would naturally assume this was a new dimension (usually there is a separate display label attribute to support business users changing the label while the name is used as a system ID).
    HTH
    Michael

  • Is there a difference between the earphone output and the audio output of the docking connector, or is it in fact the same signal ?

    Is there a difference between the earphone output and the audiooutput of the docking connector of the iphone 4, or is it in fact the same signal ?

    One basic difference is that the LTE frequencies each is able to operate on are different. After that, it is pretty much the same phone. Others might be able to add to this.

  • How can I keep the same dimensions while cropping in Preview?

    I know how to crop in Preview.  What I'm trying to do is crop a specific area of a picture while keeping the pictures original 8.5 x 11 aspect ratio.  Is there a way to automatically keep this aspect ratio instead of having to maually guess?  I always end up with a cropped picture that's slightly too tall or too wide.
    Thanks for your help.

    Nor, surprisingly will iPhoto, unless the option has been added in '11.
    Photoshop Elements will, so will Graphic Converter (with greater flexibility). You require the 'scale' function which may be a subset of 'resize'.

  • Keep the same name while converting images to PDF

    I am using Automator to convert images to PDF. The new images are in a different folder, but it is asking for an output file name. Can't I tell it to just keep the same name as the old file?

    leaving the exact format, can you explain what does it mean by correctly formed Arabic fonts ?
    What I did is created a text document in Arabic and converted it to PDF and the same file is converted back to word and the results were all junk..

  • How do I keep my husbands apps from appearing on my device? While at the same time sharing content so we don't have to pay twice for music and apps?

    How do I prevent my spouse's apps from appearing on my device, and visa versa while at the same time sharing music and apps so that we don't have to pay twice?

    Okay.  Your personal iCloud account really isn't involved here.   If apps purchased on another person's device are automatically downloading to your device, it's because you have Apps turned on under Automatic Downloads in Settings>iTunes & App Store.  If you turn it off, the downloads will stop.  If desired, also turn off Music and Books to prevent these from automatically appearing on your device when purchased by someone else.
    You can then control which of these, if any, you download to your device by selectively download them from your purchased list as explained here: http://support.apple.com/kb/HT2519.  As long as everyone is sharing the same Apple ID for their purchases, they will all appear on this list.
    As far a music organization, you should be sure all your music is in your iTunes library on your computer.  You can then create the playlists you want and sync them to your device using iTunes.

  • How to keep the same image quality after OCR ?

    Hello, I have scanned a page of a book, it has mostly black text over white background. In order to keep a good visual quality and a low size for the file I chose the GIF format. The gif is 153.4KB, when I save it as PDF the file is 119KB  and after OCR it is 224.2KB (however the resulting rich text is only 3.6KB).
    How come the PDF is smaller than the GIF ? Is the GIF converted into a JPEG ?
    How come after OCR the PDF is twice bigger while the added text is only a few KB ? Is the image converted again ?
    I only want to keep my GIF as it is and OCR it.
    Is it possible ?  Even though in the "Convert to PDF" settings it says "There are no settings that can be edited in Conpuserve GIF"
    If not, what other software could I use ? I have DEVONthink Pro but it also converts my GIF against my will.

    niuza wrote:
    Why are you talking about DPI ? the problem is not with acquisition but with convertion.
    I don't want more detail I want to keep the same quality in the PDF that I had in the source file.
    PjonesCET wrote: you can always use pdf Optimizer (in advanced menu) to reduce the size of the PDF without demishing the quality of  text.
    Well I'd like to see that, because before optimizing a PDF you must save it and when you save it the image is converted.
    Here is what I get with a 600DPI TIF converted to PDF. Notice the difference.
    Because DPI (Dots per inch) density affects the quality of the OCR.   The higher the dpi, the better looking and more reliable the OCR. The less DPI is , the poorer the quality, and less relaible the scan is. There are different settings under the Create PDF Using Scanner Those setting affect the Quality of the OCR.
    Once the Document has been OCR'ed have you tried to save as a Word Document or as an RTF Document? Then sleceted all the text and choosen a Font (Arial for example) save as a word document. Then created a new PDF. It might clean up the look at the text.
    I will leave the answer at this and let someone else try. I don't wish to get anyone upset.

  • Replace a 2003 (not R2) File Server with a 2012R2 files server and preferably keep the same machine name and IP when finished

    I am wanting to replace a 2003 (not R2) File Server with a 2012R2 file server and preferably keep the same machine name and IP when finished.  For the moment I just need some "high level" guidance, little details can be worked out once I know
    which direction I will go.  I was considering that DFS might be a way to help get through the process although when finished the 2012R2 Files server will be by itself with no other file server planned at this time.  DFS can stay installed for maybe
    future purposes but clearly I wouldn't need the DFS Replication with only one machine.
    Here's a few details of the environment....
    1.  DC's are 2012R2 but it is still 2003 DFL because the old 2003 DCs are still present.  But likely they will be gone and the DFL elevated before I start on the File Server project
    2. Nearly all machines in the facility have a shortcut on the "All Users" Desktop that points to the existing old File Server.  Editing or replacing that shortcut would be a major pain,...hence why I want to keep the same machine name at least,
    and maybe the same IP if not too much trouble.  This way the existing shortcut would continue to work with the new 2012R2 File Server.  The UNC path represented in that shortcut is also configured into one or more of our major business applications,
    futher emphasizing the need to keep the UNC path the same throughout the process.
    3. The facility runs 24/7/365 but is "light" on weekends.  The political environment is such that there is little to no tolerance for any down time at all.
    4. Would DFS (based from the 2012R2 machine) be a good tool to get where I need to go?
    Thanks for any suggestions.
    Phillip Windell

    Hi Sharon,
    I've done some more reading and have a few new ideas to run past you....
    Yes regular DFS wouldn't help and the Namespace would still be different than how it was with just the old server. However I was thinking DFS Replication could replace the purpose of RoboCopy and it would keep the two locations "in sync" until I was ready
    to flip over to the new server.  DFS Rep can exist independently of a DFS Namespace, so a Namespace is not even needed. It needs a minimum of 2003R2 for the "later & better" DFS Rep but I believe 2003 can do an "in place" upgrade to 2003R2, so I would upgrade
    the old server to 2003R2 first.  As long as the DFS Rep on 2012R2 and 2003R2 will properly interact I think that will work.
    Thanks for the reg info on the Shares.  I'm debating if editing that would reg file would really be much better than manually creating the Shares on the new server while the DFS Replication was doing its job.  I'll probably export that Key as a
    safety move whether I use it or not.
    Once the DFS Rep is fully in sync and the Shares are in place on the new server, I figure I would then:
    1. Remove the DFS Replication Object (optionally remove DFS Services completely)
    2. Rename the old File Server to something else and set it to DHCP
    3. Rename the new File Server to the name I want to use and give it the IP the old server had.
    How does that sound?
    Phillip Windell

  • Insert to multiple tables while keeping the referential integrity

    I would like to confirm whether we can have both updatable and reference for secondary entity. It seems to me that even though both updatable and reference can be checked for secondary entity, the secondary entity is not updatable.
    There are some scenarios that I hope to create the "parent" and "child" at the same time in the UI. For example, Employee and ProductExpertise which is in m:m relationship. We have three tables: Employee, EmployeeProduct, and Product. We have two view object, EmployeeVO which contains EmployeeEO, EmployeeProductVO which contains EmployeeProductEO and ProductEO. This can display EmployeeVO as master, and EmployeeProductVO as detail. However when we add a new product for the employee, we can only associate an existing product. We would like to create a new product and associate the product with employee. This cannot be achieved by the current EmployeeProductVO.
    I wonder if ADF supports inserting to multiple tables while keeping the foreign key reference integrity? In other words, in a 1:1..* (1 to 1 or 1 to many) relationship, must we have a master-detail view where we add parent first, then add child? Does ADF support adding both parent and child together with the correct foreign key assigned automatically for the child? Do we need to write code to do it?
    Any insight is appreciated.

    Hi,
    Assuming you are talking about ADF Business Components, yes, the framework can handle a batch insert that inserts both parent and child records in the same transaction. A few things that you may want to review:
    1). If you are using a database sequence for your primary keys (your question "Does ADF support adding both parent and child together with the correct foreign key assigned automatically for the child" made me think perhaps you were), have a read of the Fusion Developer's guide about the DBSequence type.
    2). In the same guide, have a read of section 38.8 - it talks about the small bit of code you may need to write to ensure the parent record is posted before the children, and also discusses about associations that are based on DB Sequences.
    Best,
    John

  • How to archive my photos from IPhoto to keep the same filing structure

    I need to empty my iphoto files as there is too much memory being taken up.  i want to export to external hard drive but keep the same filing system so i can access my photos rapidly.  every attempt I have made to date mixes all the photos up so there is no structure. help please.

    I need to empty my iphoto files as there is too much memory being taken up.
    No, iPhoto files take up disk space, not memory. So if you think you're going to save memory be getting rid of them, you need to reconsider that idea.
    You can move your entire iPhoto Library to an external drive and import new photos into it on that drive, so if that's what you want to do, these are the steps:
    1. Format the external drive as Mac OS Extended (Journaled)
    2. Quit iPhoto
    3. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    4. Hold down the option key while launching iPhoto. From the menu select 'Choose Library' and navigate to the new location. From that point on itl be the default location of your library.
    5. Test the new library destination and when you're sure everything is as it should be, delete it on your Macintosh HD.

  • How to keep the same cost in Sales order and return order?

    Hi experts,
    When I create a sales order with item cost 100 USD.
    Then the cost of item changed and down to 90 USD.
    When I do goods return refer to the sales order. How can I keep the same cost (VPRS) 100 USD but not 90 USD?
    I made a test the cost in sales order is 100 USD but 90 USD in return sales order.
    I want the cost in return sales order is 100 USD.
    How can I do?
    Thanks,
    Lance

    Hi,
    Let me tell u my understanding of your requirement, after the sales the cost of the item is changed to some thing low than it was in sales order or invoice, in this scenario you need to transfer the cost of the material as it is in the sale order or invoice (which you are taking as reference to create a Return Order), am i right?
    If so, you can proceed like this.
    In the copy controls of Billing to Sales orders ( F2 to RE) we have the pricing type N assigned to it ( Transfer pricing components unchanged, New Cost) here the system is reading the change of the cost again from the material master. if you don' t want it to read the material master data again we can have a change try with pricing type 'D'  (Copy Pricing elements unchanged), and try now.
    let me know the result.
    hope this will solve your problem.

  • I want to Connect my Mac Mini as a Slave to a Mac pro Server while at the same time using the Mac mini's thunderbolt ports peripherals ( ie monitor, Sound Card, Hard drives) Creating a poor man's new mac Pro. Can this be Done?

    I want to Connect my Mac Mini as a Slave to a Mac pro Server while at the same time using the Mac mini's thunderbolt ports peripherals ( ie monitor, Sound Card, Hard drives) Creating a poor man's new mac Pro. Can this be Done?

    Well, I really would love the new unreleased mac pro however , I'm not sure of the expected cost , Everyone speculates from $3,000 to $8,000, in which I may have to wait a while to purchase.
    To the point .... I want fully functional thunderbolt ports to be on the current mac pro's .... wonder if anyone had workarounds yet?...  or could I chain the the current mac pro to a mac mini to make that happen?

  • I cannot open iphoto- the message I am getting says Shut down and restart your computer, and then open iPhoto again. If the problem persists, try rebuilding your photo library. To do this, quit iPhoto, and then reopen it while keeping the Option and Comma

    i cannot open iphoto- the message I am getting says Shut down and restart your computer, and then open iPhoto again. If the problem persists, try rebuilding your photo library. To do this, quit iPhoto, and then reopen it while keeping the Option and Command-
    I tries and it doesnt work!!

    What version of iPhoto? Assuming 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • HT5616 I have multiple phones and iPads and all are linked to one iCloud account and one iTunes Account.  I want to keep the same iTunes Account so I can share music, etc., however, I want each device to have its own iCloud account.  How do I do this?

    I have multiple phones and iPads and all are linked to one iCloud account and one iTunes Account.  I want to keep the same iTunes Account so I can share music, etc., however, I want each device to have its own iCloud account.  Any help on how I can I do this?

    You'll need to create an Apple ID for each device. Use the new Apple ID for FaceTime, iMessage and iCloud on the device. Use the original Apple ID for Settings>iTunes & App Store.

Maybe you are looking for