Newbee want to split array

Annoying - but cant fix it. I want to divide a waveform array - take sound as an example - into positive and negative portions and then use the largest array of positive values for further calculations. Struggling with this silly problem - can anyone help please?
Martin
"Physician, researcher and programmer wannabe."

Sorry - posted in the wrong place ...
"Physician, researcher and programmer wannabe."

Similar Messages

  • How can I inverse the Split 1D Array by recombining the splitting array?

    How can I inverse the Split 1D Array by recombining the splitting array? i.e I have two boolean arrays A and B, and I want them in one boolean array: A array elements followed by B elements (NOT Interleaving)
    Thank you
    Solved!
    Go to Solution.

    Thank you Marcus_Körner , GerdW and thoult for your assistance.
    Sorry I am using Labview 2013, so I saved it in ver 2010 format, and I uploaded a photo for the circuit.
    Attachments:
    Packets.vi ‏8 KB
    Untitled.png ‏5 KB

  • I want to SPLIT A CLIP. That's all. Make one piece into two.

    I am looking for the equivalent of the 'Command-T' function in iMovie HD. This is one of the most commonly used actions in processing video, and apparently it doesn't exist. The 'Split Clip' command in iMovie 09 simply does not work for me. At all. EVER. I have yet to find an instance where it isn't grayed out. All I want to do is split a clip, and add a transition between the two.
    While I'm on my soap box, the revisions of iMovie since V.6 are without a doubt the most counter-intuitive, joy-sucking applications ever produced by Apple. iMovie made it FUN to edit video; these last two versions make it frustrating and cumbersome.
    To reiterate, I want to SPLIT A CLIP INTO TWO PIECES. If anyone here can provide instructions for doing so (as opposed to explaining why it is NOT possible), then kindly do so. Thank you.

    Trey, I seriously feel your pain. I'm editing a wedding project in IM '09 and it is literally taking me twice as long to complete the project than it would have in HD. You should be able to make splits in the event browsers, but that's too much like common sense for Apple. They completely mucked up the editing process by doing away with iMovie HD, which by the way is not working well in Snow Leopard.
    As for split, I suggest the same thing as above. Put the playhead where you want the split. Us shortcut key, ShiftCommandS. I had problems with it this morning, but it finally kicked in.
    I also had a problem when trying delete a selection of a clip. When I clicked delete, it deleted the selection plus the extracted audio of the entire clip from which I took the selection. Not sure what caused that.
    I have FCE installed, so maybe I’ll haul it out and try using it for my next project. IM '09 is a pain. I'm not even sure how it's more accessible to general users.

  • HT2736 I have a $100 iTunes gift card from when I bought my daughters computer this summer.  I want to split it up into four $25 credits at the ITunes store for my 4 kids....how can I do this?

    I have a $100 iTunes gift card from when I bought my daughters computer this summer.  I want to split it up into four $25 credits at the ITunes store for my 4 kids....how can I do this?

    You can't.
    (73561)

  • I have a huge file which is in GB and I want to split the video into clip and export each clip individually. Can you please help me how to split and export the videos to computer? It will be of great help!!

    I have a huge file which is in GB and I want to split the video into clip and export each clip individually. Can you please help me how to split and export the videos to computer? It will be of great help!!

    video
    What version of Premiere Elements do you have and on what computer operating system is it running?
    Please review the following workflow.
    ATR Premiere Elements Troubleshooting: PE11: Project Assets Organization for Scene and Highlight Grabs from Collection o…
    But please also determine if your project goal is supported by
    a. format of your source
    and
    b. computer resources
    More later based on details that you will post.
    ATR

  • How do I split Imovie events?  I find the option in File menu and have selected the part of the event that I want to split before, but the option to split is not bolded (allowed) in the File menu.

    I have imported video to iMovie and want to split the event.  I have selected part of the event and when I go to File> Split the event before the selected clip it is not bolded in the menu and it is not an allowed selection.  I had imported directly to an external HD so moved the event to the Mac HD and tried it again. This did not work either.  Any ideas why this option is not available to me???

    Use iMovie to move the events to your Movies folder, otherwise you're can't.

  • Want to split String on '$' character

    i have a String str = "car$bar$road$building$motor"
    now i want to split that string on "$" sigh.
    i m using String split method i.e. String[] arr=str.split("$");
    but its not workin......i know i can use StringTokenizer class to split it. but i want to why its not working
    thanks & regards,
    Ben

    split uses a regex:String str = "car$bar$road$building$motor";
    String[] arr = str.split("[$]");

  • I have large clips that I want to split and make a DVD where each new clip is a different menu option.  How do I do that?

    I recently transferred home movies from VHS to .mpg.  They are currently in a 60 minute video.  I want to split up the clips and burn them do a DVD with an iDVD custom menu (i.e. so I can click on the individual clips to play).  How do I edit the videos to save shorter clips to my hard drive?
    Thank you!

    I recently transferred home movies from VHS to .mpg
    How do I edit the videos to save shorter clips to my hard drive?
    mpg-2 is not designed for editing.  You will need to convert ('rip') your DVD to convert the mpg-2 content to something like DV video that can be edited in iMovie and used in iDVD.
    DVDxDV will do this; MPEG-Streamclip with the $20 Apple Quicktime MPG-2 Component will do this; and Roxio's Toads Titanium will do this.

  • I want to split an event but do not have a split icon. Help!

    New Mac user. I want to split an event but do not see the split icon.

    in the help window type in "split" - it will show you the command (event menu ==> split event)
    learn to use HELP - it is extremely "Helpful"
    LN

  • Splitting array according to its index

    Hi all
    I want to have a "demultiplexer" block that, having one (2Nx1) array as input, will split the data in two (Nx1) arrays as output wether the index of the first array is even or odd......
    At first I tried to implement this with a simple case structure in a while loop:
    But this doesn't work because I can ony run this .vi when the outputs of the case have option "Use default if unwired" set on. And this will produce not a pair of (Nx1) arrays, but a pair of (2Nx1) arrays. The first array will be [value, 0, value, 0, .....] and the second will be [0, value, 0, value....]
    I want to get rid of those zeros....
    Any hints?
    Thanks in advance!
    Solved!
    Go to Solution.

    Try the decimate array function. That's probably all you need.
    Here are a few general comments to your code in general:
    Since the number of iterations is known before the loop starts, you need a FOR loop. No need to wire N or compare the iteration count. It will iterate for all elements in the autoindexing input array automatically, then exit the loop. Also, output indexing on a FOR loop is much more efficient, because the array sizes of the outputs can be determined and exactly allocated before the loop starts. With a while loop, labview cannot do that.
    If you have LabVIEW 2012, you could use conditional indexing on the output tunnels.
    You could wire the remainder directly to the case structure and make one case 1 and the other 0. Less code! (See my signature).
    To check for odd vs. even, a logical AND with 1 is sufficient and more efficient.
    The "-1" belongs before the loop because it needs to be done only once (well, the compiler recognized loop invariant code and will in fact create compiled code as if the "-1" were before the loop, but why not be explicit?)
    When creating a code screenshot, try no to select anything.  These black dotted outlines are distracting.
    LabVIEW Champion . Do more with less code and in less time .

  • I want to cast Array to double[]

    I make an windowsForm class for draw graph.
    It has an input param
    public FormGraph(string title, string name1, Array data1)
    I need data of double[] type for draw graph. But I think users are want to input double[] or int[] ect...
    So I try to get data as Array type and cast it to double[].
    double[] series1 = (double[])data1;
    But it throw exception about fail to cast.
    How can I cast variable type of array to double[]?

    Another option is to combine Generics with this.
    You can use generics to allow the users to pass different types of data to a method, but type specific in a different way.
    public FormGraph<T>(string title, string name1, IEnumerable<T> data1)
    var series1 = data1.Select(x => Convert.ToDouble(x)).ToArray();
    Muthukrishnan Ramasamy
    net4.rmkrishnan.net
    Use only what you need, Reduce global warming

  • Want to Send array of objects to an Axis web service

    Hi,
    I wanna send an Array of objects to an Axis based web service. Is there any work around, how to or example available.
    Regds,
    Farooq

    908794 wrote:
    Hello,
    I would like to see the raw http response which is returned from web service calls.Why the HTTP response? Isn't the soap message body enough? If it is, you probably want to check out SoapUI.
    A simple google query for "apache axis2 http response" also return this article:
    http://blogs.cocoondev.org/dims/archives/004668.html
    And finally, you did go through the Axis2 website right? It has a wiki with a rather staggering amount of articles in there.
    http://wiki.apache.org/ws/FrontPage/Axis2/

  • Split array from FIFO

    Hello
    I'm running a FIFO from my CRIO 9075 to a RT host on the computer. On the target I have 4 inputs connected to a build array and then FIFO.
    How can I split the array up into 4 separate signals on my host? 
    Solved!
    Go to Solution.

    The Index Array can be extended to separate all 4 of your elements.  That would likely be the easiest way for you to do this.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • I have multiple users on one account and now want to split the account.  How do you split and account?

    My family and I have used the same account for many years.  We are now looking to create individual accounts and separating the music and other items appropriately.  How do you split an account?

    It's not currently possible to split an account, all content will remain tied to the account that originally bought/downloaded it. You can try leaving feedback for Apple, and maybe at some point it will be possible : http://www.apple.com/feedback/

  • Passing split array to function

    Anyone know how to pass an array to a function as seperate
    parameters i.e
    _array = [param1,param2,param3]
    functionToCall(param1,param2,param3)
    instead of: functionToCall(_array[0],_array[1],_array[2]);
    of having to go
    var1 = _array[0];
    var2 = _array[1];
    var3= _array[2];
    functionToCall(var1,var2,var3)
    Cheers, burnside

    DCIBurnside,
    > Marco Mind wrote:
    > Can't you just pass the array and indexs as a second
    array?
    That would only work if the desired function is written to
    accept two
    parameters formatted as arrays. DCIBurnside could certainly
    write an
    intermediary function, I suppose; but for that effort, it
    would be just as
    easy to pass in the parameters as already shown:
    functionToCall(_array[0],_array[1],_array[2]);
    Check out the methods of the Fuction class -- in particular
    Function.apply() -- which might be exactly what DCIBurnside
    is looking for.
    David Stiller
    Co-author, ActionScript 3.0 Quick Reference Guide
    http://tinyurl.com/dpsAS3QuickReferenceGuide
    "Luck is the residue of good design."

Maybe you are looking for