File Exchange Pick of the Week

January 11th, 2006

Wildcard WHICH

This is a very exciting week for Scott and Doug’s POTW - we get to take the week off, to make room for a pick from our very special guest, John D’Errico. Thanks for the vacation, John! Here’s what John has to say …

For those of us who love to ask questions of matlab, we can ask who, whos, which, what, and even why. There is a nice modification of which to be found in whichx. Whichx accepts wildcards, so I can do the following:

>> whichx fminsearch*

run /Users/johnderrico/Documents/Files/work in progress/fminsearchbnd2.m
run /Users/johnderrico/Documents/Files/work in progress/fminsearchbndx.m
run /Users/johnderrico/Desktop/My_FEX/fminsearchbnd.m
run /Users/johnderrico/Desktop/My_FEX/opt_reg_tips/fminsearchbnd.m
run /Applications/MATLAB701/toolbox/matlab/funfun/fminsearch.m

You will find links in your command window, allowing you to run or edit any of
the functions it finds with no more than a mouse click. Try whichx. I predict you
will find it useful.

Now if somebody will just give me the answer to “when”, “where”, and “how”,
I’ll be all set.

Comments are closed.


Bob, Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

  • Zach: Hi Doug and Les, I didn’t have a lot of time to mess with this, but I did find a work-around. I plotted...
  • hamed: k
  • Les: @Zach This isn’t exactly what you are looking for but at least it puts all three parameters on the same...
  • Zach: Thanks for your suggestions Doug. I’ll give that a shot and see what happens. I’ve seen many of...
  • Doug: @Zach, I would say to use plotYYY, because that is close to what you want, but using depth as Y makes sense....
  • Doug: @Teja, I think this will work: http://www.mathworks .com/access/helpdesk /help/techdoc/ref...
  • Gify: merry christmas :) nice christmas tree! Regards, Janet Gify
  • Teja: Dear Doug Is there anyway to plot a surface from nonuniform data without meshgrid and griddata? Basically i...
  • Zach: I’m working with geophysical data, so I’d like to produce a depth profile. The y-axis would be...
  • Doug: @Ashok First, please do not use variable names that are MATLAB commands (std and mean). Second, p(j) should be...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.