Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Recent content by antiseptic

  1. antiseptic

    better random number generator needed

    hi all matlab has two main random number generators we surely all know about: rand and randn randn uses a 0 mean, 1 std gaussian distribution yet i very much miss a random number generator WHERE i can SPECIFY the mean and std i want it to use (very useful when trying to compare ur data to random...
  2. antiseptic

    very SIMPLE question about a FIGURE

    thanx a lot i had been looking through the set and get functions, but hadnt quite grasped how to use em
  3. antiseptic

    very SIMPLE question about a FIGURE

    ok, me again its 3 am, and im listening to limp bizkit to keep my mind sharp i think i got a "partial" solution, nuff for me today, ill try to find something better tomorrow ok, so i just have the fig >> open crappy.fig >> gcf % returns the handle of the current figure >>...
  4. antiseptic

    very SIMPLE question about a FIGURE

    hi yes, the original data was deleted, now i just have the .fig file left i m really buggered, cuz i CAN see the data, i just need to "edit" the plot, then click on Y axis, and the data is THERE!! (check it out), but theres no option to "save it to workspace", as can be done...
  5. antiseptic

    very SIMPLE question about a FIGURE

    hi all okay, i have a simple plot saved in a .fig file i JUST need to RETRIEVE the data of the Y axis i m SURE it can be done, but i cant figure it out i have even SEEN the data when editing the plot but i cant save it to workspace help?
  6. antiseptic

    Linear Least Squares problem

    hi all i am trying to minimize some matrix H using lsqnonneg (linear least square with non negativity constraint) however, lsqnonneg accepts only vectors as inputs, not matrices, so i am forced to do this for i=1:size(V,2) H(:,i) = lsqnonneg(-W, -V(:,i)) end this is extremely time consuming...
  7. antiseptic

    Matlab Compiler (not trivia)

    hi all i am trying to compile AND link a matlab executable from its source code in c++ i proceeded as follows 1. coded the m file 2. translated the code to c++ with the mcc -p (so i have the executable file along with the source files, and it works as stand-alone) 3. compiled (to object file)...
  8. antiseptic

    recursive functions and global variables

    i thought about that, but there is a problem with that (keep in mind mebbe my algorithm design is faulty... :-S) the fact is i have a top-down tree _ node 4 node 2 |- node 5 node 1 -| node 3 |- node 6 - node 7 i want to run...
  9. antiseptic

    recursive functions and global variables

    hi all i am trying to design a recursive function that would "spawn" a child process everytime a condition is met to keep it simple: function output = recursive_function(parameters) if (condition_is_met) recursive_function(parameters) end output=whatever; i want to "keep...
  10. antiseptic

    plotting matrix data on a 2D surface

    thanks a lot! both solutions work all right P.D. thats for other readers: MLBS function is a function out of Frequency Domain System Identification toolbox (i dont have it, but thats no trouble to me)
  11. antiseptic

    plotting matrix data on a 2D surface

    hi all i wish to plot a "boolean" matrix on a 2D surface, not like "mesh" or "surf", rather like a non-connected plot something like ______________________ | * * | | * | | * * | | * | | *...

Part and Inventory Search