Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: hoopz
  • Order by date
  1. hoopz

    Copying a figure and everything on it

    copyobj does not copy figures, or axes, as far as I can tell. It copies things like plots I think. I want to be able to copy EVERYTHING on a figure into another figure. thanks
  2. hoopz

    Copying a figure and everything on it

    I am creating a GUI that processes some data and plots the data on a figure. The little plot window in my GUI is nice, but I'd like to be able to give the user the option to copy the figure to an external figure window, so that they can then do things like saving the figure as a JPG or...
  3. hoopz

    fprintf

    The format I needed to put the data in was space-delimited, so my delimiter with dlmwrite was simply a ' ' I just used the code below to create the identifer string; there is probably a better way to do it. Still, Matlab reported the elapsed time as only 0.122 seconds, although I am on a...
  4. hoopz

    fprintf

    As a follow up to this I've decided to stick with fprintf. I used a 'for' loop to create a string that is 707 identifiers long, e.g. '%.16g %.16g %.16g etc. etc.'. My program took 11 seconds to run when using fprintf. I figured using dlmwrite and '-append' would have been faster, but it...
  5. hoopz

    fprintf

    Thanks BsK, you are awesome. I should have realized you could use dlmwrite even if you had some text, it just seem kinda funny to me that I had to pound everything out with fprintf.
  6. hoopz

    fprintf

    I'm trying to write all of the data in a matrix into a file, and I have to have a header in this file so I'm using fprintf instead of dlmwrite or something like that. I have a matrix A, and the format I want the file to be in is: <header> A(1,1) A(1,2) A(1,3) A(2,1) A(2,2) A(2,3) etc, etc...
  7. hoopz

    Finding positions of the entries of one vector in another

    I'm converting some code from R and I'm having trouble with a line of code that I feel like there should be a built in function for in Matlab. In R, the function is: match(x,table) which returns a vector of the positions of (first) matches of its first argument in its second. So if I have...

Part and Inventory Search

Back
Top