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

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

Output

  • ARM下 Implement matrix multiplication of 2 square matrices, with data read from an input file and pri

    ARM下 Implement matrix multiplication of 2 square matrices, with data read from an input file and printed both to the console and to an Output file. • Assume a file with correct data (no garbage, characters, etc.). • you must check and provide appropriate execution for 2 extra cases, namely when the matrix size given is either “0” , or when the size is greater than the maximum handled of “5” . In these 2 cases you must implement the following behaviour: o If size = 0, then print a message “Size = 0 is unacceptable” and continue by reading the next size for the next 2 matrices (if not end of file). o If size >5, then print two messages: “Size is too big - unacceptable”. Then read and discard the next (size2 ) integers and continue by reading the next size for the next 2 matrices (if not end of file).

    標(biāo)簽: multiplication Implement matrices matrix

    上傳時(shí)間: 2014-08-30

    上傳用戶:dsgkjgkjg

  • 簡(jiǎn)單混合衰落信道 This mfile inputs an unmodulated sinewave through a simple Rayleigh two path fading channe

    簡(jiǎn)單混合衰落信道 This mfile inputs an unmodulated sinewave through a simple Rayleigh two path fading channel and shows the Output with phase, gain, and attenuation characteristics via animation.

    標(biāo)簽: unmodulated Rayleigh sinewave through

    上傳時(shí)間: 2015-05-17

    上傳用戶:CSUSheep

  • 數(shù)字運(yùn)算

    數(shù)字運(yùn)算,判斷一個(gè)數(shù)是否接近素?cái)?shù) A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no

    標(biāo)簽: 數(shù)字 運(yùn)算

    上傳時(shí)間: 2015-05-21

    上傳用戶:daguda

  • 這個(gè)例子如果運(yùn)行,將在仿真的PC窗口中的第1,2,3行顯示一些信息后,在隨機(jī)位置顯示 1 ~ 5 .由于keil c51默認(rèn)不支持重入函數(shù),它的重入函數(shù)使用仿真的重入棧而不使用系統(tǒng)棧,而Small R

    這個(gè)例子如果運(yùn)行,將在仿真的PC窗口中的第1,2,3行顯示一些信息后,在隨機(jī)位置顯示 1 ~ 5 .由于keil c51默認(rèn)不支持重入函數(shù),它的重入函數(shù)使用仿真的重入棧而不使用系統(tǒng)棧,而Small RTOS 51沒有進(jìn)行重入棧管理,所以在TaskA~TaskE雖然及其相似,但不能合并. 注意:(1)在KEIL C51 工程中,我已經(jīng)把輸出文件目錄設(shè)在e:\temp中,您可以在Project->Options for Target "Target 1"的Output頁點(diǎn)擊Select Folder for Objects...和Listing頁點(diǎn)擊Select Folder for Listing...改變. (2)編譯時(shí)會(huì)有5個(gè)警告,其中一個(gè)是因?yàn)闆]有使用一個(gè)系統(tǒng)函數(shù)OSSendSignal引起,它可以忽略.另4個(gè)是禁止任務(wù)間變量覆蓋分析引起,必須忽略.感謝網(wǎng)友John X. Liu,在這個(gè)例子中我使用了他編寫的仿真(dllPc51Emu.dll),這個(gè)dll原來是為他移植的Ucos-ii for keil c51的例子編寫. (3)Pc51Emu.dll在KEIL C51 V6.23 V7.00工作不正常.

    標(biāo)簽: Small keil c51 仿真

    上傳時(shí)間: 2015-05-29

    上傳用戶:無聊來刷下

  • 這個(gè)例子是例子2的另一種寫法(但任務(wù)數(shù)量不同),它使用了最高優(yōu)先級(jí)任務(wù)作為顯示任務(wù),全局變量ShowChar作為參數(shù).函數(shù)TaskB是優(yōu)先級(jí)1~10的任務(wù)函數(shù),因?yàn)闆]有使用局部變量,這些任務(wù)可以用一個(gè)

    這個(gè)例子是例子2的另一種寫法(但任務(wù)數(shù)量不同),它使用了最高優(yōu)先級(jí)任務(wù)作為顯示任務(wù),全局變量ShowChar作為參數(shù).函數(shù)TaskB是優(yōu)先級(jí)1~10的任務(wù)函數(shù),因?yàn)闆]有使用局部變量,這些任務(wù)可以用一個(gè)函數(shù). 注意:(1)在KEIL C51 工程中,我已經(jīng)把輸出文件目錄設(shè)在e:\temp中,您可以在Project->Options for Target "Target 1"的Output頁點(diǎn)擊Select Folder for Objects...和Listing頁點(diǎn)擊Select Folder for Listing...改變. 感謝網(wǎng)友John X. Liu,在這個(gè)例子中我使用了他編寫的仿真dll(Pc51Emu.dll),這個(gè)dll原來是為他移植的Ucos-ii for keil c51的例子編寫. (2)Pc51Emu.dll在KEIL C51 V6.23 V7.00工作不正常.

    標(biāo)簽: ShowChar TaskB 函數(shù) 10

    上傳時(shí)間: 2015-05-29

    上傳用戶:asddsd

  • 2^x mod n = 1 acm競(jìng)賽題 Give a number n, find the minimum x that satisfies 2^x mod n = 1. Input

    2^x mod n = 1 acm競(jìng)賽題 Give a number n, find the minimum x that satisfies 2^x mod n = 1. Input One positive integer on each line, the value of n. Output If the minimum x exists, print a line with 2^x mod n = 1. Print 2^? mod n = 1 otherwise. You should replace x and n with specific numbers. Sample Input 2 5 Sample Output 2^? mod 2 = 1 2^4 mod 5 = 1

    標(biāo)簽: mod satisfies minimum number

    上傳時(shí)間: 2015-06-02

    上傳用戶:qlpqlq

  • * * Input * bin_data : binary data * bin_size : binary data length * Mode : operation mode

    * * Input * bin_data : binary data * bin_size : binary data length * Mode : operation mode * BASE64_NeedCRLF ---- Need a CRLF every 64 base64-character * BASE64_NotCRLF ---- Need not CRLF between 64 base64-character * * Output * char data * char data length * * Return * 0: success -1: error

    標(biāo)簽: binary data operation bin_data

    上傳時(shí)間: 2015-06-04

    上傳用戶:ZJX5201314

  • Frequency Scale Conversion From f To f Scale frq2mel mel2frq mel The mel scale is based on the hu

    Frequency Scale Conversion From f To f Scale frq2mel mel2frq mel The mel scale is based on the human perception of sinewave pitch. frq2erb erb2frq erb The erb scale is based on the equivalent rectangular bandwidths of the human ear. frq2midi midi2frq midi The midi standard specifies a numbering of semitones with middle C being 60. They can use the normal equal tempered scale or else the pythagorean scale of just intonation. They will in addition Output note names in a character format.

    標(biāo)簽: Scale Conversion Frequency mel

    上傳時(shí)間: 2015-06-07

    上傳用戶:

  • Routine mampres: To obtain amplitude response from h(exp(jw)). input parameters: h :n dimensione

    Routine mampres: To obtain amplitude response from h(exp(jw)). input parameters: h :n dimensioned complex array. the frequency response is stored in h(0) to h(n-1). n :the dimension of h and amp. fs :sampling frequency (Hz). iamp:If iamp=0: The Amplitude Res. amp(k)=abs(h(k)) If iamp=1: The Amplitude Res. amp(k)=20.*alog10(abs(h(k))). Output parameters: amp :n dimensioned real array. the amplitude-frequency response is stored in amp(0) to amp(n-1). Note: this program will generate a data file "filename.dat" . in chapter 2

    標(biāo)簽: dimensione parameters amplitude response

    上傳時(shí)間: 2013-12-19

    上傳用戶:xfbs821

  • Routine mar1psd: To compute the power spectum by AR-model parameters. Input parameters: ip : AR

    Routine mar1psd: To compute the power spectum by AR-model parameters. Input parameters: ip : AR model order (integer) ep : White noise variance of model input (real) ts : Sample interval in seconds (real) a : Complex array of AR parameters a(0) to a(ip) Output parameters: psdr : Real array of power spectral density values psdi : Real work array in chapter 12

    標(biāo)簽: parameters AR-model Routine mar1psd

    上傳時(shí)間: 2015-06-09

    上傳用戶:playboys0

主站蜘蛛池模板: 滦南县| 九江县| 清流县| 鄢陵县| 沾益县| 沙洋县| 志丹县| 贺兰县| 夏津县| 新密市| 平原县| 托里县| 腾冲县| 广丰县| 井研县| 年辖:市辖区| 新河县| 察隅县| 辰溪县| 本溪市| 屏东市| 株洲县| 乌恰县| 乌海市| 泸西县| 美姑县| 余姚市| 宜春市| 合江县| 郸城县| 安吉县| 青龙| 湘潭市| 溧水县| 仁寿县| 康乐县| 绥芬河市| 荔浦县| 吉林市| 汪清县| 明光市|