登录
首页 » Others » TIM+ADC+DMA

TIM+ADC+DMA

于 2021-05-07 发布
0 343
下载积分: 1 下载次数: 1

代码说明:

STM32的多通道ADC,采用定时器2触发,并用DMA方式读取,主要是配置麻烦,程序已经过验证

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

发表评论

0 个回复

  • QPSK调制解调过的MATLAB仿真
    使用MATLAB仿真QPSK调制与解调的过程,并绘出误码率曲线
    2020-11-30下载
    积分:1
  • 稀疏自码深度学习的Matlab实现
    稀疏自编码深度学习的Matlab实现,sparse Auto coding,Matlab codetrain, m/7% CS294A/CS294W Programming Assignment Starter CodeInstructions%%%This file contains code that helps you get started ontheprogramming assignment. You will need to complete thecode in sampleIMAgEsml sparseAutoencoder Cost m and computeNumericalGradientml For the purpose of completing the assignment, you domot need tochange the code in this filecurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencodtrain.m∥%%========%6% STEP 0: Here we provide the relevant parameters valuesthat willl allow your sparse autoencoder to get good filters; youdo not need to9 change the parameters belowvisibleSize =8*8; number of input unitshiddensize 25number of hidden unitssparsity Param =0.01; desired average activation ofthe hidden units7 (This was denoted by the greek alpharho, which looks like a lower-case pcurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod4/57train.,m∥in the lecture notes)1 ambda=0.0001%o weight decay parameterbeta 3%o weight of sparsity penalty term%%==:79 STEP 1: Implement sampleIMAGESAfter implementing sampleIMAGES, the display_networkcommand shouldfo display a random sample of 200 patches from the datasetpatches sampleIMAgES;display_network(patches(:, randi(size(patches, 2), 204, 1)), 8)%为产生一个204维的列向量,每一维的值为0~10000curer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod5/57train.m/v%中的随机数,说明是随机取204个 patch来显示%o Obtain random parameters thetatheta= initializeParameters ( hiddenSize, visibleSize)%%=============三三三三====================================97 STEP 2: Implement sparseAutoencoder CostYou can implement all of the components (squared errorcost, weight decay termsparsity penalty) in the cost function at once, butit may be easier to do%o it step-by-step and run gradient checking (see STEP3 after each stepWecurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod6/57train. m vb suggest implementing the sparseAutoencoder Cost functionusing the following steps(a) Implement forward propagation in your neural networland implement the%squared error term of the cost function. Implementbackpropagation tocompute the derivatives. Then (using lambda=beta=(run gradient Checking%to verify that the calculations corresponding tothe squared error costterm are correctcurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod7/57train. m vl(b) Add in the weight decay term (in both the cost funcand the derivativecalculations), then re-run Gradient Checking toverify correctnessl (c) Add in the sparsity penalty term, then re-run gradiChecking toverify correctnessFeel free to change the training settings when debuggingyour%o code. (For example, reducing the training set sizecurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod8/57train m vl/number of hidden units may make your code run fasterand setting betaand/or lambda to zero may be helpful for debuggingHowever, in yourfinal submission of the visualized weights, please useparameters web gave in Step 0 abovecoS七grad]sparseAutoencoderCost(theta, visibleSize,hiddensize, lambda,sparsityParam, beta,patches)二〓二二二二二二二〓二〓二〓二〓=二====〓=curer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod9/57train.m vlll96% STeP 3: Gradient CheckingHint: If you are debugging your code, performing gradienchecking on smaller modelsand smaller training sets (e. g, using only 10 trainingexamples and 1-2 hiddenunits) may speed things upl First, lets make sure your numerical gradient computationis correct for a%o simple function. After you have implemented computeNumerun the followingcheckNumericalGradientocurer:YiBinYUyuyibintony@163.com,WuYiUniversityDeep Learning, MATLAB Code for Sparse Autoencode10/57
    2020-12-05下载
    积分:1
  • EV录屏---免费无水印无时间限制-亲测好用.zip
    EV录屏---免费无水印无时间限制-亲测好用EV录屏---免费无水印无时间限制-亲测好用EV录屏---免费无水印无时间限制-亲测好用
    2021-05-06下载
    积分:1
  • 无约束优化单纯形替换法序matlab
    用MATLAB实现的无约束优化单纯形替换法的程序
    2020-12-11下载
    积分:1
  • Makesens2.0
    Makesens2.0,可以计算Mann-Kendall的显著性检验、Sen斜率计算。与1.0版本相比增加了时间序列的长度
    2020-12-10下载
    积分:1
  • 图像清晰度评价函数
    matlab 图像清晰度评价调用程序,以图像锐度函数为基准判断
    2020-12-11下载
    积分:1
  • Matlab CRC校验(GUI)
    基于GUI的Matlab CRC校验代码,支持不同长度的CRC校验码
    2020-12-06下载
    积分:1
  • 图像去噪的些论文 硕士论文
    我是研究图像去噪的,这是我这两年中收集到的一些资料和论文
    2020-11-03下载
    积分:1
  • WSN DV-Hop定位的Matlab仿真代码
    基于DV-Hop的无线传感网络定位算法的matlab仿真代码。研究定位误差与锚节点个数和通信半径的关系。设定在100*100的区域内,总节点数为100,分别计算出通信半径为15,25,50时,定位误差随锚节点个数3~30改变时的变化情况。
    2020-12-01下载
    积分:1
  • EtherCAT从协议栈 SSC v5.12
    EtherCAT实时以太网从站官方协议栈,包含SSC Tool从站配置软件,5.12版本。
    2021-05-06下载
    积分:1
  • 696516资源总数
  • 106554会员总数
  • 12今日下载