Rank: 65755 based on 0 downloads (last 30 days) and 0 file submitted
Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Turner View all
Updated File Comments Rating
23 Nov 2010 MATLAB Record GUI MATLAB Record GUI: Used to record, edit, and analyze speech or other sounds. Author: Jesse Hansen

I'm using this file and some times it works correctly, and other times it doesn't. If I set the record time to 3 seconds, matlab warning, "SamplesPerTrigger must be specified as scalar integer value". The playback file is also wrong because if I pause 2 seconds before clapping my hands, the amplitude shows I clapped at 0.1 seconds. Other times the file works great.

I've used the core components of this code for my own code that times from a beep to the user's hands clapping together. My code has the same error(s) as this because it says the hand claps start almost instantly.

If I load a .wav file that was recorded and saved by record.m the pause before first clap is correct.

I'm using R2009b. I have the same problem on 2 computers one is a desktop with 32 bit vista, the other is a 64 bit windows 7 laptop.

Please advise.

26 Oct 2009 Unit Conversion Tools Command line, GUI, & Simulink block to convert physical units Author: Bob Kagy

The unit_conversion for Fahrenheit is incorrect!

Tried: unit_conversion(0, 'degK','degF')=-255.3722
Should be: unit_conversion(0, 'degK','degF')=−459.67
Tried: unit_conversion(0,'degC','degF')=236.2978
Shuld be: unit_conversion(0,'degC','degF')=32

Also added in two more units and included 'in' aka 'inch' as follows :
'unit',{{'mrad','mradian','mil'}},... %T.J. Modified
'isSI',[0,0,0],...
'gain',.001,...
'bias',0,...
'inv',false),...
struct(...

'unit',{{'moa','MOA'}},... %T.J. Modified
'isSI',[0,0],...
'gain',6283/60/360,...
'bias',0,...
'inv',false),...

'unit',{{'inch','in'}},...
'isSI',[0,0],...
'gain',0.0254,...
'bias',0,...
'inv',false),...
struct(...

% Finally fixed Fahrenheit with following code:
'unit',{{'Fahrenheit','degF'}},...
'isSI',[0,0],...
'gain',5/9,... % kelvin = 5/9 * ( degF - 32 ) + 273.15 = 5/9 * degF - 5/9 * 32 + 273.15
'bias',459.67,... %T.J. modified, %orginal (5/9)*(-32)+273.15
'inv',false),...
struct(...

Contact us