
matlab
iteye_16691
这个作者很懒,什么都没留下…
展开
-
Matlab 麦克风录音 [转]
在Matlab 2012a win7下, 使用Matlab从麦克风中获取音频数据. 原文出自 matlabworks % Record your voice for 5 seconds.recObj = audiorecorder;disp('Start speaking.')recordblocking(recObj, 5); %保存5秒disp('En...原创 2012-09-10 22:47:48 · 2030 阅读 · 1 评论 -
matlab 从摄像头中获取数据 [转]
matlab 2012a win7 下,从摄像头中获取数据原文出自 matlabworks vid = videoinput('winvideo', 1);set(vid, 'ReturnedColorSpace', 'RGB');img = getsnapshot(vid);imshow(img) ...原创 2012-09-10 22:51:39 · 263 阅读 · 0 评论 -
matlab 在灰度图像上画一个透明的矩形
matlab 在灰度图像上画一个透明的矩形 im=rgb2gray(imread('pad.jpg'));imshow(im);hold on;fill ([300 400 400 300 300],[200 200 400 400 200],'r','facealpha',0.5); 其中,fill是画一个多边图形 参数[300 400 400 300 30...原创 2013-08-31 22:01:09 · 2602 阅读 · 0 评论 -
matlab 2012a 调用语音朗读tts 两行代码
>> SV = actxserver('SAPI.SpVoice');>> invoke(SV,'Speak','hello , 何企业来说,中层管理人员都是极为关键的,因为中层是执');---matlab 2012a win7 ,原来matlab调用语音朗读就两行代码啊. ...原创 2013-10-17 14:27:19 · 1567 阅读 · 3 评论