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

matlab向单片机发送浮点数组

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

代码说明:

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

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

发表评论

0 个回复

  • matlab_tabu_job_scheduling
    求解单机成组作业,基于TOC理论,多目标优化(To solve job scheduling on single machine)
    2009-10-01 10:28:16下载
    积分:1
  • ShapeContext
    说明:  目标匹配经典特征shape context的Matlab源码!(The source code of the shape context!)
    2010-04-15 16:26:10下载
    积分:1
  • speechRHMM
    HMM语音识别的matlab程序,举了1-9几个数字的例子,对语音识别的程序进行了验证(HMM Speech Recognition program, cited the example of figures 1-9, the speech recognition process was validated)
    2012-04-01 11:05:33下载
    积分:1
  • structure-Yagi-
    八木天线有源折合振子馈电的新结构 (The new structure Yagi antenna active equivalent oscillator fed)
    2013-11-29 12:53:07下载
    积分:1
  • fcls
    利用全局控制最小二乘法(FCLS)可以对遥感影像进行丰度反演(Least squares method using the global control (FCLS) remote sensing images can abundance inversion)
    2021-02-27 13:39:36下载
    积分:1
  • MatlabDimensionReductionToolbox
    经典的降维方法集合,包含近代诸多算法,由马大博士生编著。(The Matlab Toolbox for Dimensionality Reduction contains Matlab implementations of 32 techniques for dimensionality reduction. A large number of implementations was developed from scratch, whereas other implementations are improved versions of software that was already available on the Web. The implementations in the toolbox are conservative in their use of memory. The toolbox is available for download here.)
    2009-11-14 00:37:08下载
    积分:1
  • bpsk
    二相相移键控(BPSK)调制解调过程的MATLAB仿真实现。ASK、FSK、PSK这三种数字调制方式在抗干扰噪声能力和信号频谱利用率等方面,以相干PSK的性能最好,目前已在中、高速传输数据时得到广泛应用。(Binary phase shift keying (BPSK) modulation and demodulation process, MATLAB Simulation. ASK, FSK, PSK modulation in the three digital noise interference and signal spectrum efficiency, etc., to the best performance of coherent PSK, is now in the middle and high-speed transmission data are widely used.)
    2010-11-19 22:12:22下载
    积分:1
  • single6
    标准的卡尔曼滤波MATLAB程序。。。简单实用的(MATLAB Kalman filter standard procedures. . . Simple and practical)
    2009-05-27 18:51:32下载
    积分:1
  • q708
    MATLAB及在电子信息中的应用:q707有限长序列z变换,z逆变换。708是逆变换(MATLAB and the application of electronic information: q707 finite length sequence of z transform, z inverse transformation. 708 is the inverse transform)
    2010-01-21 15:06:25下载
    积分:1
  • GRNN
    这是编好的程序[cp,zq]=grnn(data,yy) gaussian SVM,GRNN 的正确率,击中率,正确拒绝率在19个先天盲人中的为: SVM GRNN 0.68421 0.73684 0.83333 0.83333 0.42857 0.57143 解压到MATLAB的TOOLBOX文件夹里,然后刷新工具箱,在命令窗口输入:rehash toolboxcache。 然后就可以用我的那个函数了。( It is programmed procedures [cp, zq] = grnn (data, yy) gaussian SVM, GRNN accuracy rate, hit rate and correct rejection rate in the 19 congenital blind as follows: SVM GRNN 0.68421 0.73684 0.83333 0.83333 0.42857 0.57143)
    2014-09-02 11:35:13下载
    积分:1
  • 696518资源总数
  • 104388会员总数
  • 18今日下载