freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

信號處理實驗音頻頻譜分析儀設計-閱讀頁

2025-01-31 10:49本頁面
  

【正文】 % Executes during object creation, after setting all properties. function edit24_CreateF(hObject, eventdata, handles) % hObject handle to edit24 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 isequal(get(hObject,39。), get(0,39。)) set(hObject,39。,39。)。amp。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。white39。 end % Executes during object creation, after setting all properties. function foutt_CreateF(hObject, eventdata, handles) % hObject handle to foutt (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 isequal(get(hObject,39。), get(0,39。)) set(hObject,39。,39。)。amp。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。white39。 end % Executes during object creation, after setting all properties. function pointfrom_CreateF(hObject, eventdata, handles) % hObject handle to pointfrom (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 isequal(get(hObject,39。), get(0,39。)) set(hObject,39。,39。)。amp。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。white39。 end % Executes on button press in timeanalyse. function timeanalyse_Callback(hObject, eventdata, handles) Fs=str2double(get(findobj(39。,39。),39。))。Tag39。caiyangdianshu39。String39。 if ==0 msgbox(39。)。 end %guo ling jian ce n=1。 ymin=min([(1) (2)])。String39。 to=str2double(get(,39。))。 msgbox(39。)。 end for i=from+2:to1。 (i2)0 amp。 (i+1)0 if (i)==0 ti(n)=i。 end amp(n)=(ymaxymin)/2。 ymin=0。 else if ymax(i) ymax=(i)。 end end end n=n1。 end freq=Fs/mean(T)。String39。非周期39。 set(,39。,39。)。String39。 set(,39。,num2str(freq))。String39。 %phase phase=2*pi*(1(ti(1:n1)1)./T+floor((ti(1:n1)1)./T))。String39。 %peak set(,39。,(max((from:to))min((from:to)))/2)。String39。 %meansquare set(,39。,mean((from:to).^2))。String39。 % function uipanel18_ButtonDownF(hObject, eventdata, handles) % hObject handle to uipanel18 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) [filename,filepath]=uigetfile(39。,39。)。string39。 [,Fs,bit]=wavread(filename)。 guidata(hObject,handles)。 ysize=size()。String39。 set(,39。,Fs)。pleas wait...39。 for i=1:10000 waitbar(i/10000,h) end close(h) % Executes on button press in freqanalyse. function freqanalyse_Callback(hObject, eventdata, handles) % hObject handle to freqanalyse (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) Fs=str2double(get(findobj(39。,39。),39。))。Tag39。caiyangdianshu39。String39。 if ==0 msgbox(39。)。 end from=str2double(get(,39。))。String39。 sample=(from:to)。 Y=fft(sample,tofrom+1)。 if(==1||==2||==4) set(,39。,39。)。String39。非周期39。 end if(==3) set(,39。,1/f(I))。String39。 end Y=Y(1:(tofrom+1)/2)。 plot(,f,angle(Y))。 plot(,f,imag(Y))。 xlabel(,39。)。freqency(Hz)39。 xlabel(,39。)。freqency(Hz)39。 xlabel(,39。)。amplitude39。 ylabel(,39。)。real39。 ylabel(,39。)。power39。 音頻頻譜分析儀運行結果1. 聲卡輸入聲卡輸入的錄音是非周期的,故時域分析和頻域分析結果都是“非周期”。3. 信號發(fā)生器(1) 正弦波(2) 方波(3) 三角波(4) 鋸齒波(5) 白噪聲白噪聲是隨機產生的,故時域和頻域分析結果都是非周期的。三種輸入方式間可以方便的切換,并且一次只能選擇一種輸入方式(選擇一種輸入方式后,其他輸入方式的功能鍵會變灰,將不能使用,除非再次選擇該輸入方式)。同時,本作品還有待改進和完善,如可以對函數(shù)進行加窗分析,還可以把分析結果導出來稱特定格式的文件,等等。在后面的學習中,有機會將進行研究
點擊復制文檔內容
電大資料相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1