function varargout = DVB_T2(varargin)
% DVB_T2 M-file for DVB_T2.fig
% DVB_T2, by itself, creates a new DVB_T2 or raises the existing
% singleton*.
%
% H = DVB_T2 returns the handle to a new DVB_T2 or the handle to
% the existing singleton*.
%
% DVB_T2('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in DVB_T2.M with the given input arguments.
%
% DVB_T2('Property','Value',...) creates a new DVB_T2 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before DVB_T2_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to DVB_T2_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 DVB_T2
% Last Modified by GUIDE v2.5 07-Sep-2014 15:29:29
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @DVB_T2_OpeningFcn, ...
'gui_OutputFcn', @DVB_T2_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 DVB_T2 is made visible.
function DVB_T2_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 DVB_T2 (see VARARGIN)
% Choose default command line output for DVB_T2
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes DVB_T2 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = DVB_T2_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
function P_Callback(hObject, eventdata, handles)
% hObject handle to P (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 P as text
% str2double(get(hObject,'String')) returns contents of P as a double
% --- Executes during object creation, after setting all properties.
function P_CreateFcn(hObject, eventdata, handles)
% hObject handle to P (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 L_Callback(hObject, eventdata, handles)
% hObject handle to L (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 L as text
% str2double(get(hObject,'String')) returns contents of L as a double
% --- Executes during object creation, after setting all properties.
function L_CreateFcn(hObject, eventdata, handles)
% hObject handle to L (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 N_Callback(hObject, eventdata, handles)
% hObject handle to N (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 N as text
% str2double(get(hObject,'String')) returns contents of N as a double
% --- Executes during object creation, after setting all properties.
function N_CreateFcn(hObject, eventdata, handles)
% hObject handle to N (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 edit4_Callback(hObject, eventdata, handles)
% hObject handle to edit4 (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 edit4 as text
% str2double(get(hObject,'String')) returns contents of edit4 as a double
% --- Executes during object creation, after setting all properties.
function edit4_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit4 (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 pushbutton1. generate area
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
xmax=str2num(get(handles.P,'String'));
ymax=str2num(get(handles.L,'String'));
bnyk_pemancar = (get(handles.N,'value'));
axes(handles.axes1);hold on;cla;
jarak_antar_pemancar=8.4;
xcenter=fix(xmax/2);
ycenter=fix(ymax/2);
for(i=0:1:xmax)
xscale(1,(i+1))=i;
yscale(1,(i+1))=i;
end;
for(i=0:1:ymax)
yscale(1,(i+1))=i;
end;
xlim([0 xmax]);
ylim([0 ymax]);
set (gca,'XTick',xscale);
set (gca,'YTick',yscale);
grid on;
hold all;
% 7 Pemancar
pemancarX(1,1) = xcenter;
pemancarX(1,2) = (xcenter - (jarak_antar_pemancar/2));
pemancarX(1,3) = (xcenter + (jarak_antar_pemancar/2));
pemancarX(1,4) = (xcenter + (jarak_antar_pemancar));
pemancarX(1,5) = (xcenter + (jarak_antar_pemancar/2));
pemancarX(1,6) = (xcenter - (jarak_antar_pemancar/2));
pemancarX(1,7) = (xcenter - (jarak_antar_pemancar));
pemancarY(1,1) = ycenter;
pemancarY(1,2) = ycenter + sqrt((jarak_antar_pemancar)^2- (jarak_antar_pemancar/2)^2);
pemancarY(1,3) = ycenter + sqrt((jarak_antar_pemancar)^2- (jarak_antar_pemancar/2)^2);
pemancarY(1,4) = ycenter;
pemancarY(1,5) = ycenter - sqrt((jarak_antar_pemancar)^2- (jarak_antar_pemancar/2)^2);
pemancarY(1,6) = ycenter - sqrt((jarak_antar_pemancar)^2- (jarak_antar_pemancar/2)^2);
pemancarY(1,7) = ycenter;
% %5 Pemancar
% pemancarX (1,1)=(xcenter-(jarak_antar_pemancar));
% pemancarX (1,2)=(xcent
没有合适的资源?快使用搜索试试~ 我知道了~
Program-05.rar_DVB-T2_SFN_sfn matlab_television
共5个文件
mat:2个
asv:1个
m:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 79 浏览量
2022-07-14
02:30:09
上传
评论
收藏 44KB RAR 举报
温馨提示
Fixed (Roof-top) Reception Mode on Digital Television (DVB-T2) Transmitter Performance in Single Frequency Network (SFN)
资源推荐
资源详情
资源评论
收起资源包目录
Program-05.rar (5个子文件)
Program 05
DVB_T2.m 18KB
level_daya.mat 29KB
DVB_T2.asv 17KB
generate.mat 921B
DVB_T2.fig 8KB
共 5 条
- 1
资源评论
- 大漠夜星2023-11-20内容与描述一致,超赞的资源,值得借鉴的内容很多,支持!
周楷雯
- 粉丝: 78
- 资源: 1万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功