1 簡介
本課題是對數學通信中的QPSK的調制與解調進行了研究與設計,利用Matlab程式語言對QPSK進行調制與解調的仿真,使得我們對于QPSK數字調制系統的過程更加清晰,以便于更好的了解調制與解調的過程.而且設計中用程式語言編寫程式分析了QPSK系統抗噪聲的能力,通過将理論誤碼率和仿真誤碼率的比較,我們客觀的,形象的了解誤碼率的性能.在Matlab中仿真結果與理論基本一緻,這對了解QPSK系統的性能起到很大的幫助,并為我們進一步未來科技發展中研究通信中的調制與解調提供了有效的參考依據.
2 部分代碼
function varargout = GUI_2FSK(varargin)
% GUI_2FSK MATLAB code for GUI_2FSK.fig
% GUI_2FSK, by itself, creates a new GUI_2FSK or raises the existing
% singleton*.
%
% H = GUI_2FSK returns the handle to a new GUI_2FSK or the handle to
% the existing singleton*.
%
% GUI_2FSK('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in GUI_2FSK.M with the given input arguments.
%
% GUI_2FSK('Property','Value',...) creates a new GUI_2FSK or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before GUI_2FSK_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to GUI_2FSK_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help GUI_2FSK
% Last Modified by GUIDE v2.5 30-Nov-2018 14:09:53
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @GUI_2FSK_OpeningFcn, ...
'gui_OutputFcn', @GUI_2FSK_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before GUI_2FSK is made visible.
function GUI_2FSK_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to GUI_2FSK (see VARARGIN)
% Choose default command line output for GUI_2FSK
handles.output = hObject;
3 仿真結果
編輯
編輯