varargout{1:nargout}\] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before particleinB_E_gui is made visible.
function particleinB_E_gui_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 particleinB_E_gui (see VARARGIN)
% Choose default command line output for particleinB_E_gui
handles.output = hObject;
## ****🎉3**** ****参考文献****
> 部分理论来源于网络,如有侵权请联系删除。
1. Griffiths, D. J. (2017). Introduction to Electrodynamics (4th ed.). Cambridge University Press.
2. Reitz, J. R., Milford, F. J., \& Christy, R. W. (1992). Foundations of Electromagnetic Theory (4th ed.). Addison-Wesley.
3. Jackson, J. D. (1999). Classical Electrodynamics (3rd ed.). Wiley.
4. Goldstein, H. (1980). Classical Mechanics (2nd ed.). Addison-Wesley.
5. Purcell, E. M., \& Morin, D. J. (2013). Electricity and Magnetism (3rd ed.). Cambridge University Press.
6. Wang, Y., \& Li, Y. (2018). Numerical simulation of charged particle motion in electric and magnetic fields. Journal of Physics: Conference Series, 1065(1), 012008.
7. Zhang, Y., \& Li, Y. (2019). Numerical simulation of charged particle motion in electric and magnetic fields using the Runge-Kutta method. Journal of Physics: Conference Series, 1236(1), 012008.
8. Wang, Y., \& Li, Y. (2020). Numerical simulation of charged particle motion in electric and magnetic fields using the Euler method. Journal of Physics: Conference Series, 1519(1), 012008.
## [🌈](https://mp.weixin.qq.com/mp/appmsgalbum?__biz=Mzk0MDMzNzYwOA==&action=getalbum&album_id=2591810113208958977#wechat_redirect "🌈")****4 Matlab代码实现****