本文主要是介绍【电磁】基于Matlab模拟3 个偶极子的辐射图,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
🍎个人主页:Matlab科研工作室
🍊个人信条:格物致知。
更多Matlab仿真内容点击👇
智能优化算法 神经网络预测 雷达通信 无线传感器
信号处理 图像处理 路径规划 元胞自动机 无人机 电力系统
⛄ 内容介绍
研究了直线天线的两种简单分析模型:无穷小偶极子和有限长偶极子.建立了偶极子辐射强度和方向性系数数学模型.应用MATLAB对其性能进行了仿真分析.通过仿真分析比较,得出了和实际结果相符的结论,从而为天线的研究提供了有价值的基础理论.
⛄ 部分代码
% --- Outputs from this function are returned to the command line.
function varargout = dipola_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 wave_length_Callback(hObject, eventdata, handles)
% hObject handle to wave_length (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 wave_length as text
% str2double(get(hObject,'String')) returns contents of wave_length as a double
wavelength = str2double(get(hObject,'string'));
handles.wavelength=wavelength;
if isnan(wavelength)
errordlg('You must enter a numeric value','Bad Input','modal')
uicontrol(hObject)
return
end
guidata(hObject,handles)
handles.wavelength;
% --- Executes during object creation, after setting all properties.
function wave_length_CreateFcn(hObject, eventdata, handles)
% hObject handle to wave_length (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 dipole1_Callback(hObject, eventdata, handles)
% hObject handle to dipole1 (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 dipole1 as text
% str2double(get(hObject,'String')) returns contents of dipole1 as a double
dipole1 = str2double(get(hObject,'string'));
handles.dipole1=dipole1;
if isnan(dipole1)
errordlg('You must enter a numeric value','Bad Input','modal')
uicontrol(hObject)
return
end
guidata(hObject,handles)
handles.dipole1;
⛄ 运行结果
⛄ 参考文献
[1]张清泉, 吉安平, 行小帅,等. 基于MATLAB的偶极子辐射性能仿真分析[J]. 仪器仪表与分析监测, 2011(3):3.
⛄ 完整代码
❤️部分理论引用网络文献,若有侵权联系博主删除
❤️ 关注我领取海量matlab电子书和数学建模资料
这篇关于【电磁】基于Matlab模拟3 个偶极子的辐射图的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!