亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fftplatform.m

?? FPGA輸出數據的時頻域分析GUI界面
?? M
?? 第 1 頁 / 共 2 頁
字號:
% hObject    handle to XMax (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



% --- Executes on button press in YAuto.
function YAuto_Callback(hObject, eventdata, handles)
% hObject    handle to YAuto (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hint: get(hObject,'Value') returns toggle state of YAuto

p=get(handles.Figure,'UserData');

if p==1
    val = get(handles.YAuto,'Value');
    if val == 1
        ud = get(handles.FFTPlatForm,'UserData');
        TData = ud.FData;
        ymin = min(TData);
        ymax = max(TData);
        set(handles.Figure,'YLim',[ymin ymax]);
        set(handles.YMin,'String',num2str(ymin));
        set(handles.YMax,'String',num2str(ymax));
    else
        YMin_Callback;
        YMax_Callback;
    end
    % Set the Auto Parameter Enable on
    set(handles.YAuto,'Enable','off');
else 
    if p==2
        val = get(handles.YAuto,'Value');
        if val == 1
            ud = get(handles.FFTPlatForm,'UserData');
            Power = ud.PData;
            ymin = min(Power);
            ymax = max(Power);
            set(handles.Figure,'YLim',[ymin ymax]);
            set(handles.YMin,'String',num2str(ymin));
            set(handles.YMax,'String',num2str(ymax));
        else
            YMin_Callback;
            YMax_Callback;
        end
        % Set the Auto Parameter Enable on
        set(handles.YAuto,'Enable','off');
    end
    if p==3
        val = get(handles.YAuto,'Value');
        if val == 1
            ud = get(handles.FFTPlatForm,'UserData');
            Power_wrap = ud.PData_wrap;
            ymin = min(Power_wrap);
            ymax = max(Power_wrap);
            set(handles.Figure,'YLim',[ymin ymax]);
            set(handles.YMin,'String',num2str(ymin));
            set(handles.YMax,'String',num2str(ymax));
        else
            YMin_Callback;
            YMax_Callback;
        end
        % Set the Auto Parameter Enable on
        set(handles.YAuto,'Enable','off');
    end
end


function YMin_Callback(hObject, eventdata, handles)
% hObject    handle to YMin (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of YMin as text
%        str2double(get(hObject,'String')) returns contents of YMin as a double

ymin = str2double(get(handles.YMin,'String'));
y = get(handles.Figure,'YLim');
ymax = y(2);
set(handles.Figure,'YLim',[ymin ymax]);
set(handles.YAuto,'Value',0);
% Set the Auto Parameter Enable on
set(handles.YAuto,'Enable','on');



% --- Executes during object creation, after setting all properties.
function YMin_CreateFcn(hObject, eventdata, handles)
% hObject    handle to YMin (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function YMax_Callback(hObject, eventdata, handles)
% hObject    handle to YMax (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of YMax as text
%        str2double(get(hObject,'String')) returns contents of YMax as a double

ymax = str2double(get(handles.YMax,'String'));
y = get(handles.Figure,'YLim');
ymin = y(1);
set(handles.Figure,'YLim',[ymin ymax]);
set(handles.YAuto,'Value',0);
% Set the Auto Parameter Enable on
set(handles.YAuto,'Enable','on');


% --- Executes during object creation, after setting all properties.
function YMax_CreateFcn(hObject, eventdata, handles)
% hObject    handle to YMax (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end





function InputData_Callback(hObject, eventdata, handles)
% hObject    handle to InputData (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of InputData as text
%        str2double(get(hObject,'String')) returns contents of InputData as a double


% --- Executes during object creation, after setting all properties.
function InputData_CreateFcn(hObject, eventdata, handles)
% hObject    handle to InputData (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end




% --- Executes during object creation, after setting all properties.
function WindowSelection_CreateFcn(hObject, eventdata, handles)
% hObject    handle to WindowSelection (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: popupmenu controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end




% --- Executes on selection change in VariableList.
function VariableList_Callback(hObject, eventdata, handles)
% hObject    handle to VariableList (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: contents = get(hObject,'String') returns VariableList contents as cell array
%        contents{get(hObject,'Value')} returns selected item from VariableList


% --- Executes during object creation, after setting all properties.
function VariableList_CreateFcn(hObject, eventdata, handles)
% hObject    handle to VariableList (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: listbox controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end




% --- Executes on button press in Plot.
function Plot_Callback(hObject, eventdata, handles)
% hObject    handle to Plot (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Get the float data and the sample frequency
ud = get(handles.FFTPlatForm,'UserData');
TData = ud.FData;
Fs = ud.Fs;

val = get(handles.VariableList,'Value');
switch val
    case 1,
        % Plot the time domain figure
        t = 0:1/Fs:(length(TData)-1)/Fs;
        axes(handles.Figure);
        stairs(t,TData);
        title('Time Domain Figure');
        xlabel('t/(ms)')
        ylabel('Magnitude')
        zoom on;grid on;axis tight;hold off;% creat imag plot
        
        % Set the Notes frame
        set(handles.Notes,'ForegroundColor','black');
        handles.str=get(handles.Notes,'String');
        str = '->> Time domain figure ploting has been done.';
        handles.str=[handles.str;str];
        set(handles.Notes,'String',handles.str);
        
        % Set the axes control frame
        xmin = num2str(0);
        xmax = num2str(((length(TData)-1)/Fs));
        set(handles.XMin,'String',xmin);
        set(handles.XMax,'String',xmax);
        ymin = num2str(min(TData));
        ymax = num2str(max(TData));
        set(handles.YMin,'String',ymin);
        set(handles.YMax,'String',ymax);
        
        % Set the Auto Paremeter Value
        set(handles.XAuto,'Value',1);
        set(handles.YAuto,'Value',1);
        
        set(handles.Figure,'UserData',1);
    case 2,
        % Get the float data and the sample frequency
        ud = get(handles.FFTPlatForm,'UserData');
        SData = ud.SData;
        plotstring='b.';
        
        maxAll = max(max(abs(SData)));
        [len_SD, wid_SD]=size(SData);
        
        if wid_SD == 1
            axes(handles.Figure)
            plot(SData, zeros(1,len_SD), plotstring);
        elseif wid_SD == 2
            axes(handles.Figure)
            plot(SData(:,1), SData(:,2), plotstring);
        end

%         axis([-eps eps -eps eps]);
%         axo = axis;
%         limFact = 1.07;
%         limits = max(max(abs(axo)),maxAll*limFact);
%         axis equal;
%         axis([-limits limits -limits limits]);
        ylabel('Quadrature')
        xlabel('In-Phase')
        title('Scatter plot')
        zoom on;grid on;axis tight;hold off;% creat imag plot
    case 3,
    case 4,
        % Get the FFT data and the f factor
        ud = get(handles.FFTPlatForm,'UserData');
        Power = ud.PData;
        Fs = ud.Fs;
        f = ud.f;
        
        % Plot the FFT Power figure
        axes(handles.Figure)
        plot(f,Power);
        grid on
        title('FFT Power Magnitude Spectrum')
        xlabel('f/(kHz)')
        ylabel('Magnitude in dBm')
        zoom on;grid on;axis tight;hold off;% creat imag plot
        set(handles.Notes,'ForegroundColor','black');
        handles.str=get(handles.Notes,'String');
        str = '->> FFT Power figure ploting has been done.';
        handles.str=[handles.str;str];
        set(handles.Notes,'String',handles.str);
        
        % Set the axes control frame
        xmin = num2str(-Fs/2);
        xmax = num2str(Fs/2);
        set(handles.XMin,'String',xmin);
        set(handles.XMax,'String',xmax);
        ymin = num2str(min(Power));
        ymax = num2str(max(Power));
        set(handles.YMin,'String',ymin);
        set(handles.YMax,'String',ymax);
        
        % Set the Auto State
        set(handles.XAuto,'Value',1);
        set(handles.YAuto,'Value',1);
        
        set(handles.Figure,'UserData',2);
        
        % Set EnvelopePlot Push Button enable on
%         set(handles.EnvelopePlot,'Enable','on');
    case 5,
        % Get the power data
        ud = get(handles.FFTPlatForm,'UserData');
        Power = ud.PData;
        Fs=ud.Fs;
        
        axes(handles.Figure)
        N=64;
        [Power_wrap t]=my_wrap(Power,Fs*1e3,N);
        
        % Set FFTFPlot UserData the Power data
        ud.PData_wrap = Power_wrap;
        set(handles.FFTPlatForm,'UserData',ud);
        
        plot(t/1e3,Power_wrap);
        grid on
        title('FFT Power')
        xlabel('f/(kHz)')
        ylabel('Magnitude in dBm')
        zoom on;grid on;axis tight;hold off;% creat imag plot
        set(handles.Notes,'ForegroundColor','black');
        handles.str=get(handles.Notes,'String');
        str = '->> FFT Power figure envelop ploting has been done.';
        handles.str=[handles.str;str];
        set(handles.Notes,'String',handles.str);
        
        % Set the axes control frame
        xmin = num2str(-Fs/2);
        xmax = num2str(Fs/2);
        set(handles.XMin,'String',xmin);
        set(handles.XMax,'String',xmax);
        ymin = num2str(min(Power_wrap));
        ymax = num2str(max(Power_wrap));
        set(handles.YMin,'String',ymin);
        set(handles.YMax,'String',ymax);
        
        % Set the Auto State
        set(handles.XAuto,'Value',1);
        set(handles.YAuto,'Value',1);
        set(handles.Figure,'UserData',3);
end
        









function IQPE_Callback(hObject, eventdata, handles)
% hObject    handle to IQPE (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of IQPE as text
%        str2double(get(hObject,'String')) returns contents of IQPE as a double


% --- Executes during object creation, after setting all properties.
function IQPE_CreateFcn(hObject, eventdata, handles)
% hObject    handle to IQPE (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function SNR_Callback(hObject, eventdata, handles)
% hObject    handle to SNR (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of SNR as text
%        str2double(get(hObject,'String')) returns contents of SNR as a double


% --- Executes during object creation, after setting all properties.
function SNR_CreateFcn(hObject, eventdata, handles)
% hObject    handle to SNR (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function EVM_Callback(hObject, eventdata, handles)
% hObject    handle to EVM (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of EVM as text
%        str2double(get(hObject,'String')) returns contents of EVM as a double


% --- Executes during object creation, after setting all properties.
function EVM_CreateFcn(hObject, eventdata, handles)
% hObject    handle to EVM (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


% --- Executes on button press in Help.
function Help_Callback(hObject, eventdata, handles)
% hObject    handle to Help (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久嫩草精品久久久久| 中文字幕一区二区三区av| 91一区二区在线观看| 蜜桃视频免费观看一区| 亚洲日本在线a| 欧美xxxxxxxxx| 在线观看国产精品网站| 一区二区三区**美女毛片| 久久久久九九视频| 欧美大片日本大片免费观看| 色婷婷精品大在线视频| 懂色av一区二区在线播放| 男男视频亚洲欧美| 香蕉影视欧美成人| 亚洲欧美一区二区不卡| 久久理论电影网| 欧美zozo另类异族| 91精品视频网| 欧美精品 日韩| 色老综合老女人久久久| 成人免费视频网站在线观看| 裸体在线国模精品偷拍| 天天操天天色综合| 一级日本不卡的影视| 国产精品国产三级国产aⅴ入口| 精品国产乱码久久久久久闺蜜 | 日日夜夜一区二区| 亚洲六月丁香色婷婷综合久久 | 美女免费视频一区二区| 亚洲国产成人porn| 亚洲免费视频成人| 亚洲欧洲日韩女同| 国产精品家庭影院| 国产精品激情偷乱一区二区∴| 国产欧美一区在线| 国产女人18毛片水真多成人如厕 | 日韩精品中文字幕在线不卡尤物 | 1024成人网| 国产精品美日韩| 国产精品久久久久久久久免费相片| 国产人伦精品一区二区| 久久精品欧美一区二区三区麻豆| 精品少妇一区二区三区免费观看| 日韩欧美激情在线| 精品国产伦一区二区三区免费| 欧美videossexotv100| 久久久99久久精品欧美| 国产无遮挡一区二区三区毛片日本| 亚洲精品在线一区二区| 久久久久一区二区三区四区| 国产亚洲精品精华液| 国产精品色眯眯| 亚洲欧美在线另类| 亚洲国产欧美在线人成| 午夜视频一区二区| 国产在线一区观看| 波波电影院一区二区三区| 色综合亚洲欧洲| 欧美日韩一区二区在线观看 | 粉嫩aⅴ一区二区三区四区五区| 粉嫩嫩av羞羞动漫久久久| 色先锋资源久久综合| 欧美色网一区二区| 日韩视频在线你懂得| 久久久蜜桃精品| 中文字幕亚洲电影| 亚洲mv在线观看| 国产精品一区二区久久精品爱涩| 成人性生交大片免费看中文| 欧美在线免费观看视频| 日韩精品一区二区在线| 国产精品久久久久久久久免费桃花 | 欧美mv日韩mv国产网站| 国产精品人人做人人爽人人添| 亚洲乱码国产乱码精品精可以看| 日韩电影在线免费观看| 成人深夜在线观看| 69p69国产精品| 国产日韩精品久久久| 亚洲gay无套男同| 国产91精品精华液一区二区三区 | 91精品黄色片免费大全| 久久久久久久网| 夜夜精品浪潮av一区二区三区| 另类中文字幕网| 99久久精品国产观看| 欧美一区二区私人影院日本| 国产欧美视频一区二区| 三级久久三级久久| 99久久婷婷国产综合精品电影| 欧美精品xxxxbbbb| 亚洲天堂久久久久久久| 九九九精品视频| 在线观看亚洲一区| 欧美国产成人精品| 蜜乳av一区二区| 色诱亚洲精品久久久久久| 久久人人爽爽爽人久久久| 亚洲成国产人片在线观看| 成人免费av资源| 日韩三级精品电影久久久| 夜夜精品浪潮av一区二区三区| 国产成人av一区二区三区在线| 欧美日韩免费观看一区三区| 国产精品久久毛片av大全日韩| 日韩高清不卡一区| 欧美日韩一区二区三区不卡| 中文一区二区在线观看| 黄色小说综合网站| 欧美高清一级片在线| 一区二区三区精品| 91性感美女视频| 国产精品免费看片| 国产精品一二三区在线| 日韩午夜激情免费电影| 五月天中文字幕一区二区| 91亚洲国产成人精品一区二三 | 中文字幕一区二区在线播放| 极品瑜伽女神91| 日韩美女主播在线视频一区二区三区| 亚洲男同性视频| 成人av小说网| 国产精品午夜在线| 国产99精品视频| 欧美国产日韩亚洲一区| 国产精品综合久久| 久久影音资源网| 久久精品99国产精品| 制服.丝袜.亚洲.中文.综合| 亚洲电影一区二区| 欧美三级视频在线| 午夜电影网一区| 欧美日韩国产综合视频在线观看| 一区二区三区在线免费播放| 99精品国产99久久久久久白柏| 中文字幕av一区二区三区免费看 | 51精品国自产在线| 午夜在线成人av| 日韩一二三四区| 全部av―极品视觉盛宴亚洲| 日韩一级大片在线| 国产一区91精品张津瑜| 久久综合狠狠综合久久综合88| 国产美女在线精品| 久久九九久久九九| 97精品久久久久中文字幕| 日韩一区中文字幕| 91黄色激情网站| 五月综合激情网| 日韩一区二区免费电影| 精品一区二区在线免费观看| 久久综合精品国产一区二区三区| 国产69精品久久久久毛片| 国产精品色婷婷| 欧美日韩综合在线| 男人的天堂久久精品| 久久综合九色综合欧美98| 成人av影院在线| 亚洲成人激情自拍| 久久网这里都是精品| 99精品欧美一区二区蜜桃免费| 亚洲精品视频免费观看| 欧美久久久久中文字幕| 国产精品白丝jk白祙喷水网站| 国产欧美一区二区精品忘忧草| eeuss鲁一区二区三区| 亚洲电影一级黄| 精品区一区二区| 99久久婷婷国产综合精品| 亚洲一区二区在线视频| 日韩精品中午字幕| 91亚洲精华国产精华精华液| 日韩黄色小视频| 中文字幕不卡三区| 337p亚洲精品色噜噜狠狠| 国产资源在线一区| 亚洲青青青在线视频| 欧美一区2区视频在线观看| 国产高清久久久久| 亚洲高清在线精品| 国产欧美精品一区二区色综合朱莉| 一本大道av伊人久久综合| 捆绑调教一区二区三区| 中文字幕一区二区视频| 日韩欧美国产一区在线观看| 色综合久久中文字幕综合网 | 国产成人午夜片在线观看高清观看| 综合亚洲深深色噜噜狠狠网站| 制服丝袜在线91| 色综合久久66| 国产高清在线观看免费不卡| 亚洲一区二区三区视频在线| 国产欧美一区二区精品性 | 日韩美女视频一区二区| 欧美一级淫片007| 色老汉av一区二区三区| 国产91精品欧美| 久久精品99国产精品日本| 亚洲一区二区精品久久av| 国产精品美女久久福利网站|