当前位置:网站首页>Different binary conversion of MATLAB
Different binary conversion of MATLAB
2022-07-27 10:19:00 【User 9925864】
Matlab Decimal system of 、 Conversion between binary and hexadecimal
h0=figure('toolbar','none',...
'position',[200 150 350 200],...
'name','test');
e1=uicontrol('parent',h0,...
'units','points',...
'tag','e1',...
'style','edit',...
'backgroundcolor',[1 1 1],...
'position',[20 90 80 20],...
'fontsize',12,...
'horizontalalignment','right');
e2=uicontrol('parent',h0,...
'units','points',...
'tag','e2',...
'style','edit',...
'backgroundcolor',[1 1 1],...
'position',[160 90 80 20],...
'fontsize',12,...
'horizontalalignment','right');
t1=uicontrol('parent',h0,...
'units','points',...
'tag','t1',...
'style','text',...
'string',' Initial value ( Decimal system ):',...
'backgroundcolor',[0.75 0.75 0.75],...
'position',[15 110 10 20],...
'fontsize',12,...
'horizontalalignment','left');
t2=uicontrol('parent',h0,...
'units','points',...
'tag','t2',...
'style','text',...
'string',' Conversion result :',...
'backgroundcolor',[0.75 0.75 0.75],...
'position',[155 110 90 20],...
'fontsize',12,...
'horizontalalignment','left');
b1=uicontrol('parent',h0,...
'units','points',...
'tag','b1',...
'style','pushbutton',...
'string',' Binary system ',...
'backgroundcolor',[0.75 0.75 0.75],...
'position',[30 50 50 20],...
'callback',[...
'k=get(e1,''string'');,',...
'k2=str2num(k);,',...
'bk=dec2bin(k2);,',...
'set(e2,''string'',num2str(bk));']);
b2=uicontrol('parent',h0,...
'units','points',...
'tag','b2',...
'style','pushbutton',...
'string',' eliminate ',...
'backgroundcolor',[0.75 0.75 0.75],...
'position',[170 50 50 20],...
'callback',[...
'set(e1,''string'','''');,',...
'set(e2,''string'','''');']);
b3=uicontrol('parent',h0,...
'units','points',...
'tag','b3',...
'style','pushbutton',...
'string',' Hexadecimal ',...
'backgroundcolor',[0.75 0.75 0.75],...
'position',[30 15 50 20],...
'callback',[...
'k=get(e1,''string'');,',...
'k3=str2num(k);,',...
'hk=dec2hex(k3);,',...
'set(e2,''string'',num2str(hk));']);
b4=uicontrol('parent',h0,...
'units','points',...
'tag','b4',...
'style','pushbutton',...
'string',' close ',...
'backgroundcolor',[0.75 0.75 0.75],...
'position',[170 15 50 20],...
'callback','close');边栏推荐
- DCGAN论文改进之处+简化代码
- 【英雄哥六月集训】第 23天: 字典树
- Introduction to regular expressions of shell, general matching, special characters: ^, $,., * Character range (brackets): [], special characters: \, matching mobile phone number
- Metaspolit
- Shell read read console input, use of read
- NVIDIA geforce experience login error: the verifier failed to load. Please check your browser settings, such as the advertisement interceptor (solution)
- 【英雄哥六月集训】第 26天: 并查集
- Oracle RAC 19C PDB instance is down
- Color segmentation using kmeans clustering
- Shell变量、系统预定义变量$HOME、$PWD、$SHELL、$USER、自定义变量、特殊变量$n、$#、$*、[email protected]、$?、env看所有的全局变量值、set看所有变量
猜你喜欢

hdu5288(OO’s Sequence)

Understanding and code implementation of Se (sequence and exception) module

open3d库的安装,conda常用指令,导入open3d时报这个错误Solving environment: failed with initial frozen solve. Retrying w

Uninstall cuda11.1

Shell的read 读取控制台输入、read的使用

Mysql database experiment training 5, data query YGGL database query (detailed)

WGAN、WGAN-GP、BigGAN

活体检测综述

Leetcode.1260. 2D grid migration____ In situ violence / dimensionality reduction + direct positioning of circular array

3D修复论文:Shape Inpainting using 3D Generative Adversarial Network and Recurrent Convolutional Networks
随机推荐
Shell integrated application cases, archiving files, sending messages
文件上传漏洞相关
Robotframework+eclispe environment installation
Shell中的文本处理工具、cut [选项参数] filename 说明:默认分隔符是制表符、awk [选项参数] ‘/pattern1/{action1}filename 、awk 的内置变量
Snowflake vs. databricks who is better? The latest war report in 2022
Shell read read console input, use of read
女粉想要找男朋友,竟是为了...
oracle rac 19c pdb实例当掉
Huawei switch dual uplink networking smart Link Configuration Guide
Matlab-创建 MATLAB的logo
如何创建一个带诊断工具的.NET镜像
3D人脸重建:Joint 3D Face Reconstruction and Dense Alignment with position Map Regression Network
pytorch的安装(非常详细)
Excellent Kalman filter detailed article
mount. Nfs: access denied by server while mounting
sql注入
Matlab绘制不同阻尼下的系统响应
Mysql database experiment training 5, data query YGGL database query (detailed)
【英雄哥六月集训】第 24天: 线段树
01_ Movie recommendation (contentbased)_ Object portrait