Sunday, March 21, 2010

Sunday, March 14, 2010

Q. How do you close all open graphs in Igor Pro?

A. There is no default way to do this, but a clever Japanese man (or woman, i don't know) came up with the following short trick to do the job (see above). The actual text is posted in the comment section for your copying ability.

Thursday, February 18, 2010

 Key ??

Q. What is the keyboard command for the 'command' symbol in Mac OSX?

A. There isn't one.

alt + shift + k =  but the only way to get the command symbol is to use the character palette. To use it in HTML the code is "⌘"
& #x2318 without the space between the & and the #

Monday, September 28, 2009

Driving Torque?

Q. Is torque a function of speed?
Q. How do you calculate the torque of a ball screw assembly?

A.

Tuesday, June 23, 2009

Q: Matlab - How do you get numbers to format with zeros?

i.e. I have a bunch of file names that look like 0001, 0002 .... 0237 and so on. To create strings in order to load the files, I have to do something like

Filenumber = 1:237;
for x = Filenumber
Name = num2str(x)
eval('load(' Name ')')
end

but that doesn't work because I need the Filenumber to be '0001' not just '1'. :(

A. Use num2str(20,'%04i')

Wednesday, May 27, 2009

Q. How do you make Spotlight search for system files by default?

A. The published solution below will require you to use Command+F in finder to activate, but its nice because now you have the choice. Normal spotlight will act.. normally. Command+f will include all system files.

Q. What does ~/ mean when describing folders on a mac?

A. The tilda refers to the users home directory.

i.e. ~'/Library' = 'jlross/Library' for me