登录
首页 » Others » STM32高级定时器TIM1——PWM输出

STM32高级定时器TIM1——PWM输出

于 2020-12-04 发布
0 94
下载积分: 1 下载次数: 1

代码说明:

STM32高级定时器TIM1的4通道PWM输出例程 固件库编写 keil软件

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

发表评论


0 个回复

  • 12864的51系列C 序,适合开发者
    这是51系列单片机控制12864的c程序。很好用
    2020-12-10下载
    积分:1
  • c#学习(根据日期查询星期,自动售货机)源码
    c#开发的4个小实例 用于c# 入门学习
    2020-12-08下载
    积分:1
  • matlab概率统计实验
    1. 会用Mathematica求概率、均值与方差;2. 能进行常用分布的计算;3. 会用Mathematica进行期望和方差的区间估计;4. 会用Mathematica进行回归分析。
    2020-12-08下载
    积分: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
  • matlab中仿真自适应信号处理LMS算法
    matlab中仿真自适应信号处理LMS算法
    2020-11-30下载
    积分:1
  • PCA+LDA人脸识别
    【实例简介】PCA+LDA降维,KNN分类器,实现人脸识别,数据集为ORL
    2021-11-05 00:35:25下载
    积分:1
  • Matlab色差公式-带界面
    Matlab色差公式,带可视化界面的。有三种公式,anlab、CIE2000、CIE94
    2020-12-11下载
    积分:1
  • 基于opencv车牌识别源码
    基于opencv的车牌识别源码,亲测可用,包括提前提取车牌区域,字符分割以及字符识别整个车牌识别过程。在提取车牌区域时用过SVM支持向量机来识别,最后的车牌字符识别通过神经网络识别。将两种机器学习算法都用到了。不仅仅用于学习,我在车牌识别项目中也是基于该源码工作的。
    2020-11-30下载
    积分:1
  • Computational Fluid Dynamics - Principles and Applications - J. Blazek.pdf
    classical book of Computational Fluid Dynamics
    2020-12-10下载
    积分:1
  • MeanShift算法详解以及matlab源码
    这个文件包里面有matlab源码以及对meanshift算法详细介绍的文章,ppt,word文档。欢迎下载。
    2020-12-05下载
    积分:1
  • 696518资源总数
  • 104617会员总数
  • 12今日下载