登录
首页 » Matlab » matlab向单片机发送浮点数组

matlab向单片机发送浮点数组

于 2022-03-01 发布 文件大小:6.38 kB
0 25
下载积分: 2 下载次数: 1

代码说明:

应用背景MATLAB具有强大的数学运算能力,对于处理矩阵十分方便,在处理复杂数据是,可以用MATLAB搭建上位机,数学处理完成后用串口将数据发送下位机,例如32单片机。这其中来自传感器的浮点数传输是一个复杂的问题,作者通过不断试验,成功解决这一难题。关键技术串口每次收发是8位数据,浮点数在内存中的存储是32位,如何通过串口发送浮点数,需要应用数据转换,运算,实现起来比较麻烦,本文介绍如何将上位机运算所得的浮点数组发送到下位机中。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • power_1phPWM
    电力电子中使用的单相控制系统互补双管驱动仿真模型(Power 1phase PWM)
    2013-10-16 23:19:40下载
    积分:1
  • parp
    计算单载波基带/通频带信号的PAPR(峰均功率比)(PAPR calculation of single carrier baseband/passband signals)
    2014-11-17 10:58:06下载
    积分:1
  • WNNM_MC_code
    对于低水平的视觉情况下,加权核规范最小化算法及其应用。(Weighted Nuclear Norm Minimization and Its Applications to Low Level Vision)
    2020-11-26 01:19:31下载
    积分:1
  • XFOIL6.99
    说明:  xfoil项目机翼demo的matlab代码,可以进行测试(Xfoil project wing demo matlab code, can be tested)
    2019-10-11 21:24:19下载
    积分:1
  • svm的matlab程序
    本资源是svm分类器的matlab程序,是一种实现二分类的程序代码,代码行数小于100行,熟悉matlab的用户可较容易地看懂,推荐想要用MATLAB 编程写svm代码的用户。
    2023-01-26 21:00:04下载
    积分:1
  • High-pass-filter
    high pass filter souce code
    2009-05-12 15:56:40下载
    积分:1
  • branch-and-bound-master
    说明:  本程序分支定界法,用于整数规划,欢迎下载,。。。。。。。。。。。。。。。(This procedure branch and bound method, for integer programming, welcome to download,.........................)
    2019-09-23 16:59:55下载
    积分:1
  • simulation_and_software_radio_for_mobile_communica
    教材simulation and software radio for mobile communications中所讲的实例程序源码(Materials simulation and software radio for mobile communications in the program source code examples about)
    2010-08-10 15:20:52下载
    积分:1
  • clickandgetimageblock
    用guide编的matlab界面,可以点击图像任意位置截取一小块(Guide prepared by the matlab interface, you can click the image anywhere on the interception of a small piece of)
    2008-04-30 10:52:00下载
    积分:1
  • OMDS-V1
    this program is based on online medical diagnosis system
    2015-03-12 20:42:53下载
    积分:1
  • 696524资源总数
  • 103938会员总数
  • 55今日下载