function varargout = BJT_CircuitDesign(varargin)
% BJT_CIRCUITDESIGN MATLAB code for BJT_CircuitDesign.fig
% BJT_CIRCUITDESIGN, by itself, creates a new BJT_CIRCUITDESIGN or raises the existing
% singleton*.
%
% H = BJT_CIRCUITDESIGN returns the handle to a new BJT_CIRCUITDESIGN or the handle to
% the existing singleton*.
%
% BJT_CIRCUITDESIGN('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in BJT_CIRCUITDESIGN.M with the given input arguments.
%
% BJT_CIRCUITDESIGN('Property','Value',...) creates a new BJT_CIRCUITDESIGN or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before BJT_CircuitDesign_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to BJT_CircuitDesign_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 BJT_CircuitDesign
% Last Modified by GUIDE v2.5 01-Mar-2020 17:51:11
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @BJT_CircuitDesign_OpeningFcn, ...
'gui_OutputFcn', @BJT_CircuitDesign_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 BJT_CircuitDesign is made visible.
function BJT_CircuitDesign_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 BJT_CircuitDesign (see VARARGIN)
% Choose default command line output for BJT_CircuitDesign
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes BJT_CircuitDesign wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = BJT_CircuitDesign_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;
% --- Executes on button press in radiobutton1.
function radiobutton1_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton1 (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 radiobutton1
% --- Executes on button press in radiobutton2.
function radiobutton2_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton2 (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 radiobutton2
function edit_beta_Callback(hObject, eventdata, handles)
% hObject handle to edit_beta (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 edit_beta as text
% str2double(get(hObject,'String')) returns contents of edit_beta as a double
% --- Executes during object creation, after setting all properties.
function edit_beta_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit_beta (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 edit_Ucc_Callback(hObject, eventdata, handles)
% hObject handle to edit_Ucc (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 edit_Ucc as text
% str2double(get(hObject,'String')) returns contents of edit_Ucc as a double
% --- Executes during object creation, after setting all properties.
function edit_Ucc_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit_Ucc (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 edit_Ic_Callback(hObject, eventdata, handles)
% hObject handle to edit_Ic (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 edit_Ic as text
% str2double(get(hObject,'String')) returns contents of edit_Ic as a double
% --- Executes during object creation, after setting all properties.
function edit_Ic_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit_Ic (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 edit_Uce_Callback(hObject, eventdata, handles)
% hObject handle to edit_Uce (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 edit_Uce as text
% str2double(get(hObject,'String')) returns contents of edit_Uce as a double
% --- Executes during object creation, after setting all properties.
function edit_Uce_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit_Uce (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.
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)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%�年beta
str=get(handles.edit_beta,'String');
beta=str2double(str);
%%%�年Ic
str=get(handles.edit_Ic,'String');
Ic=str2double(str);
%%%�年Ucc
str=get(handles.edit_Ucc
没有合适的资源?快使用搜索试试~ 我知道了~
三极管放大实验电路,包括固定偏置-分压偏置,需要根据一些参数确定所选用的电阻值,使得三极管工作在放大状态
共5个文件
txt:1个
html:1个
asv:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 42 浏览量
2023-03-01
15:12:17
上传
评论
收藏 17KB ZIP 举报
温馨提示
三极管放大实验电路,包括固定偏置_分压偏置,需要根据一些参数确定所选用的电阻值,使得三极管工作在放大状态。本程序将电路设计设计成GUI模式,界面上只需要输入电路设计所需参数,根据相关理论推导,给出相关参数的理论值(放大倍数、输入电阻、输出电阻等),指导实验电路搭建。软件搭建在matlab gui上,方便使用 若干参数说明 beta:三极管放大倍数 Ic:集电极电流 Uce.zip
资源推荐
资源详情
资源评论
收起资源包目录
三极管放大实验电路,包括固定偏置_分压偏置,需要根据一些参数确定所选用的电阻值,使得三极管工作在放大状态。本程序将电路设计设计成GUI模式,界面上只需要输入电路设计所需参数,根据相关理论推导,给出相关参数的理论值(放大倍数、输入电阻、输出电阻等),指导实验电路搭建。软件搭建在matlab gui上,方便使用 若干参数说明 beta:三极管放大倍数 Ic:集电极电流 Uce.zip (5个子文件)
BJT_CircuitDesign.fig 10KB
www.imdn.cn.txt 366B
BJT_CircuitDesign.m 22KB
A
www.imdn.cn.html 66B
BJT_CircuitDesign.asv 21KB
共 5 条
- 1
资源评论
- weixin_425066112024-01-05资源内容详细全面,与描述一致,对我很有用,有一定的使用价值。
GZM888888
- 粉丝: 185
- 资源: 2955
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功