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

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

Mutli-choice

  • 數(shù)組子系統(tǒng)

    #include <stdio.h> #include <stdlib.h> #define SMAX 100 typedef struct SPNode { int i,j,v; }SPNode; struct sparmatrix { int rows,cols,terms; SPNode data [SMAX]; }; sparmatrix CreateSparmatrix() { sparmatrix A; printf("\n\t\t請(qǐng)輸入稀疏矩陣的行數(shù),列數(shù)和非零元素個(gè)數(shù)(用逗號(hào)隔開):"); scanf("%d,%d,%d",&A.cols,&A.terms); for(int n=0;n<=A.terms-1;n++) { printf("\n\t\t輸入非零元素值(格式:行號(hào),列號(hào),值):"); scanf("%d,%d,%d",&A.data[n].i,&A.data[n].j,&A.data[n].v); } return A; } void ShowSparmatrix(sparmatrix A) { int k; printf("\n\t\t"); for(int x=0;x<=A.rows-1;x++) { for(int y=0;y<=A.cols-1;y++) { k=0; for(int n=0;n<=A.terms-1;n++) { if((A.data[n].i-1==x)&&(A.data[n].j-1==y)) { printf("%8d",A.data[n].v); k=1; } } if(k==0) printf("%8d",k); } printf("\n\t\t"); } } void sumsparmatrix(sparmatrix A) { SPNode *p; p=(SPNode*)malloc(sizeof(SPNode)); p->v=0; int k; k=0; printf("\n\t\t"); for(int x=0;x<=A.rows-1;x++) { for(int y=0;y<=A.cols-1;y++) { for(int n=0;n<=A.terms;n++) { if((A.data[n].i==x)&&(A.data[n].j==y)&&(x==y)) { p->v=p->v+A.data[n].v; k=1; } } } printf("\n\t\t"); } if(k==1) printf("\n\t\t對(duì)角線元素的和::%d\n",p->v); else printf("\n\t\t對(duì)角線元素的和為::0"); } int main() { int ch=1,choice; struct sparmatrix A; A.terms=0; while(ch) { printf("\n"); printf("\n\t\t      稀疏矩陣的三元組系統(tǒng)       "); printf("\n\t\t*********************************"); printf("\n\t\t      1------------創(chuàng)建          "); printf("\n\t\t      2------------顯示          "); printf("\n\t\t      3------------求對(duì)角線元素和"); printf("\n\t\t      4------------返回          "); printf("\n\t\t*********************************"); printf("\n\t\t請(qǐng)選擇菜單號(hào)(0-3):"); scanf("%d",&choice); switch(choice) { case 1: A=CreateSparmatrix(); break; case 2: ShowSparmatrix(A); break; case 3: SumSparmatrix(A); break; default: system("cls"); printf("\n\t\t輸入錯(cuò)誤!請(qǐng)重新輸入!\n"); break; } if (choice==1||choice==2||choice==3) { printf("\n\t\t"); system("pause"); system("cls"); } else system("cls"); } }

    標(biāo)簽: 數(shù)組 子系統(tǒng)

    上傳時(shí)間: 2020-06-11

    上傳用戶:ccccy

  • 50W隔離型離線式DC.pdf

    ABSTRACTThe flyback power stage is a popular choice for single and multiple output dc-to-dc converters at powerlevels of 150 Watts or less. Without the output inductor required in buck derived topologies, such as theforward or push-pull converter, the component count and cost are reduced. This application note will reviewthe design procedure for the power stage and control electronics of a flyback converter. In these isolatedconverters, the error signal from the secondary still needs to cross the isolation boundary to achieveregulation. By using the UC3965 Precision Reference with Low Offset Error Amplifier on the secondaryside to drive an optocoupler and the UCC3809 Economy Primary Side Controller on the primary side, asimple and low cost 50 Watt isolated power supply is realized.

    標(biāo)簽: 隔離

    上傳時(shí)間: 2021-11-24

    上傳用戶:kingwide

  • 高通(Qualcomm)藍(lán)牙芯片QCC5151_硬件設(shè)計(jì)詳細(xì)指導(dǎo)書(官方內(nèi)部培訓(xùn)手冊(cè))

    高通(Qualcomm)藍(lán)牙芯片QCC5151_硬件設(shè)計(jì)詳細(xì)指導(dǎo)書(官方內(nèi)部培訓(xùn)手冊(cè))共52頁其內(nèi)容是針對(duì)硬件設(shè)計(jì)、部分重要元器件選擇(ESD,F(xiàn)ilter)及走線注意事項(xiàng)的詳細(xì)說明。2 Power management 2.1 SMPS 2.1.1 Components specification 2.1.2 Input power supply selection 2.1.3 Minimize SMPS EMI emissions 2.1.4 Internal LDOs and digital core decoupling 2.1.5 Powering external components 2.2 Charger 2.2.1 Charger connections.2.2.2 General charger operation2.2.3 Temperature measurement during charging 2.3 SYS_CTRL 3 Bluetooth radio3.1 RF PSU component choice 3.2 RF band-pass filter3.3 Layout (天線 走線的注意事項(xiàng))4 Audio4.1 Audio bypass capacitors 4.2 Earphone speaker output4.3 Line/Mic input 4.4 Headphone output optimizition5 LED pads 5.1 LED driver 5.2 Digital/Button input 5.3 Analog input5.4 Disabled 6 Reset pin (Reset#)7 QSPIinterface 8 USB interfaces 8.1 USB device port8.1.1 USB connections8.1.2 Layout notes8.1.3 USB charger detection

    標(biāo)簽: qualcomm 藍(lán)牙芯片 qcc5151

    上傳時(shí)間: 2022-01-24

    上傳用戶:XuVshu

  • 基于RS-485總線的MODBUS通信協(xié)議在單片機(jī)上的實(shí)現(xiàn)

    以倉庫智能改造為背景,主要介紹單片機(jī)和上位機(jī)之間通信網(wǎng)絡(luò)和通信協(xié)議的選擇,MODBUS協(xié)議通信指令和功能碼使用,重點(diǎn)闡述了基于RS-485總線的MODBUS通信協(xié)議在上位機(jī)和單片機(jī)之間的串行通信,實(shí)現(xiàn)上位機(jī)對(duì)單片機(jī)設(shè)備的遠(yuǎn)程控制和信息采集的功能。Based on the intelligent warehouse transformation as the background,mainly introduces between MCU and PC communication network and the choice of communication protocol,instruction and the function code using the MODBUS protocol communication,expounds the MODBUS communication protocol based on RS-485 bus serial communication between PC and single chip microcomputer,PC remote control of single chip computer equipment and the function of information collection.

    標(biāo)簽: RS-485總線 modbus 單片機(jī)

    上傳時(shí)間: 2022-03-26

    上傳用戶:

  • 高通藍(lán)牙芯片QCC5144_硬件設(shè)計(jì)指導(dǎo)書

    高通(Qualcomm)藍(lán)牙芯片QCC5144_硬件設(shè)計(jì)詳細(xì)指導(dǎo)書(官方內(nèi)部培訓(xùn)手冊(cè))其內(nèi)容是針對(duì)硬件設(shè)計(jì)、部分重要元器件選擇(ESD,F(xiàn)ilter)及走線注意事項(xiàng)的詳細(xì)說明。2 Power management 2.1 SMPS 2.1.1 Components specification 2.1.2 Input power supply selection 92.1.3 Minimize SMPS EMI emissions 2.1.4 Internal LDOs and digital core decoupling 2.1.5 Powering external components 2.2 Charger 2.2.1 Charger connections.2.2.2 General charger operation2.2.3 Temperature measurement during charging 2.3 SYS_CTRL 3 Bluetooth radio3.1 RF PSU component choice 3.2 RF band-pass filter3.3 Layout (天線 走線的注意事項(xiàng))4 Audio4.1 Audio bypass capacitors 4.2 Earphone speaker output4.3 Line/Mic input 4.4 Headphone output optimizition5 LED pads 5.1 LED driver 5.2 Digital/Button input 5.3 Analog input5.4 Disabled 6 Reset pin (Reset#)7 USB interfaces7.1 USB device port7.1.1 USB device port7.1.2 Layout notes 7.1.3 USB charger detectionA QCC5144 VFBGA example schematic and BOM B Recommended SMPS components specificationB.1 Inductor specifition B.2 Recommended inductors B.3 SMPS capacitor specifition

    標(biāo)簽: 藍(lán)牙芯片 qcc5144

    上傳時(shí)間: 2022-04-07

    上傳用戶:默默

主站蜘蛛池模板: 长岛县| 民乐县| 吴江市| 宁强县| 白河县| 环江| 漳平市| 绥江县| 祁东县| 泗水县| 图木舒克市| 青海省| 珲春市| 遵义县| 马公市| 泰顺县| 宜阳县| 城固县| 常州市| 神农架林区| 南宁市| 军事| 武清区| 丹凤县| 资阳市| 桂平市| 精河县| 大厂| 赣榆县| 抚松县| 花莲市| 新蔡县| 四子王旗| 邮箱| 仁寿县| 兴和县| 桐梓县| 长宁县| 望城县| 龙井市| SHOW|