亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

Micrium-NXP-<b>uCOS-i</b>I-LPC

  • 函數再現機構設計 試設計一曲柄搖桿機構

    函數再現機構設計 試設計一曲柄搖桿機構,再現函數 要求: 輸入構件的轉角范圍180°,輸出構件擺角范圍30°,即: 當輸入構件從a轉至a+90時,輸出構件從b轉至b+30 當輸入構件從a+90轉至a+180時,輸出構件從b+30轉至b

    標簽: 機構 函數 曲柄

    上傳時間: 2013-12-17

    上傳用戶:英雄

  • 這個連接池是直接從JIVE中取出來的

    這個連接池是直接從JIVE中取出來的,進行了一下修改,使得連接參數直接在程序中設定而不是從屬性文件中讀取。 [b]用法:[/b] 先設定自己的連接參數,在DbConnectionDefaultPool.java文件的loadProperties方法中。注意你也需要設定連接池的log文件的存放位置。

    標簽: JIVE 連接

    上傳時間: 2016-11-21

    上傳用戶:TF2015

  • 河內塔問題 #include<stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,in

    河內塔問題 #include<stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,int) int main(void) { int n int option printf("題目二:河內塔問題\n") printf("請輸入要搬移的圓盤數目\n") scanf("%d",&n) printf("最少搬移的次數為%d次\n",fun_a(n)) printf("是否顯示移動過程? 是請輸入1,否則輸入0\n") scanf("%d",&option) if(option==1) { fun_b(n,1,2,3) } system("pause") return 0 } int fun_a(int n) { int sum1=2,sum2=0,i for(i=n i>1 i--) { sum1=sum1*2 } sum2=sum1-1 return sum2 } void fun_b(int n,int left,int mid,int right) { if(n==1) printf("把第%d個盤子從第%d座塔移動到第%d座塔\n",n,left,right) else { fun_b(n-1,left,right,mid) printf("把第%d個盤子從第%d座塔移動到第%d座塔\n",n,left,right) fun_b(n-1,mid,left,right) } }

    標簽: int include stdlib fun_a

    上傳時間: 2016-12-08

    上傳用戶:努力努力再努力

  • function [U,center,result,w,obj_fcn]= fenlei(data) [data_n,in_n] = size(data) m= 2 % Exponent fo

    function [U,center,result,w,obj_fcn]= fenlei(data) [data_n,in_n] = size(data) m= 2 % Exponent for U max_iter = 100 % Max. iteration min_impro =1e-5 % Min. improvement c=3 [center, U, obj_fcn] = fcm(data, c) for i=1:max_iter if F(U)>0.98 break else w_new=eye(in_n,in_n) center1=sum(center)/c a=center1(1)./center1 deta=center-center1(ones(c,1),:) w=sqrt(sum(deta.^2)).*a for j=1:in_n w_new(j,j)=w(j) end data1=data*w_new [center, U, obj_fcn] = fcm(data1, c) center=center./w(ones(c,1),:) obj_fcn=obj_fcn/sum(w.^2) end end display(i) result=zeros(1,data_n) U_=max(U) for i=1:data_n for j=1:c if U(j,i)==U_(i) result(i)=j continue end end end

    標簽: data function Exponent obj_fcn

    上傳時間: 2013-12-18

    上傳用戶:ynzfm

  • 【目的】 設計一個算符優先分析器

    【目的】 設計一個算符優先分析器,理解優先分析方法的原理。 【要求】 使用算符優先分析算法分析下面的文法: E’ → #E# E → E+T | T T → T*F | F F → P^F | P P → (E) | i 其中i可以看作是一個終結符,無需作詞法分析。具體要求如下: 1. 如果輸入符號串為正確句子,顯示分析步驟,包括分析棧中的內容、優先關系、輸入符號串的變化情況; 2. 如果輸入符號串不是正確句子,則指示出錯位置。

    標簽: 分析器

    上傳時間: 2017-01-03

    上傳用戶:cmc_68289287

  • void insert_sort(int *a,int n) { if(n==1) return insert_sort(a,n-1) int temp=a[n-1] for(

    void insert_sort(int *a,int n) { if(n==1) return insert_sort(a,n-1) int temp=a[n-1] for(int i=n-2 i>=0 i--) { if(temp<a[i]) a[i+1]=a[i] else break } a[i+1]=temp }

    標簽: insert_sort int return void

    上傳時間: 2014-01-22

    上傳用戶:banyou

  • Visual 開發 希望對你們有幫助 public static int Rom(int n, int m)//雙寄或雙偶 { int count = 0 //第一排Y坐標上要幾個

    Visual 開發 希望對你們有幫助 public static int Rom(int n, int m)//雙寄或雙偶 { int count = 0 //第一排Y坐標上要幾個 if (n < m) { for (int i = 1 i <= n i = i + 2) { count++ } } else { for (int j = 1 j <= m j = j + 2) { count++ } } return count }

    標簽: int Visual public static

    上傳時間: 2013-12-13

    上傳用戶:懶龍1988

  • 遙控解碼通過電腦串口顯示 /* 晶振:11.0569MHz */ #include <REGX52.h> #define uchar unsigned char uchar d

    遙控解碼通過電腦串口顯示 /* 晶振:11.0569MHz */ #include <REGX52.h> #define uchar unsigned char uchar data IRcode[4] //定義一個4字節的數組用來存儲代碼 uchar CodeTemp //編碼字節緩存變量 uchar i,j,k //延時用的循環變量 sbit IRsignal=P3^2 //HS0038接收頭OUT端直接連P3.2(INT0) /**************************延時0.9ms子程序**********************/ void Delay0_9ms(void) {uchar j,k for(j=18 j>0 j--) for(k=20 k>0 k--) } /***************************延時1ms子程序**********************/ void Delay1ms(void) {uchar i,j for(i=2 i>0 i--) for(j=230 j>0 j--) }

    標簽: uchar unsigned 11.0569 include

    上傳時間: 2013-12-12

    上傳用戶:Breathe0125

  • :#include <stdlib.h>#include <stdio.h>#include <time.h> void InsertSort(int a[],in

    :#include <stdlib.h>#include <stdio.h>#include <time.h> void InsertSort(int a[],int *(k1),int *(k2))//0:直接插入排序{ int i,j int temp *(k1)=0 *(k2)=0 for(i=0 i<149 i++) { temp=a[i+1] *(k2)++ ...

    標簽: include InsertSort gt lt

    上傳時間: 2014-11-30

    上傳用戶:362279997

  • 漢諾塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation

    漢諾塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation eg. if n = 2 A→B A→C B→C if n = 3 A→C A→B C→B A→C B→A B→C A→C

    標簽: the animation Simulate movement

    上傳時間: 2017-02-11

    上傳用戶:waizhang

主站蜘蛛池模板: 柳江县| 东光县| 桑日县| 锡林郭勒盟| 苏尼特左旗| 浦北县| 普兰县| 色达县| 错那县| 山东省| 安福县| 丹巴县| 高尔夫| 手机| 友谊县| 泸溪县| 卓尼县| 崇礼县| 香河县| 旺苍县| 元朗区| 长宁县| 会东县| 交城县| 广东省| 龙州县| 磴口县| 会泽县| 广饶县| 中山市| 尼木县| 卢氏县| 航空| 石嘴山市| 牡丹江市| 龙井市| 秦皇岛市| 和林格尔县| 河北区| 甘孜县| 银川市|