ofdm信道特性
Channel transmission simulator
Channel transmission simulator
%
% inputs:
% sig2 - noise variance
% Mt - number of Tx antennas
% Mr - number of Rx antennas
% x - vector of complex input symbols (for MIMO, this is a matrix, where each column
% is the value of the antenna outputs at a single time instance)
% H - frequency selective channel - represented in block-Toeplitz form for MIMO transmission
% N - number of symbols transmitted in OFDM frame
%
% outputs:
% y - vector of channel outputs (matrix for MIMO again, just like x matrix)
% create noise vector sequence (each row is a different antenna, each column is a
% different time index) note: noise is spatially and temporally white
THE DESIGN PATTERNS JAVA COMPANION
1. Creational Patterns 17
The Factory Pattern 18
How a Factory Works 18
Sample Code 18
The Two Derived Classes 19
Building the Factory 20
Factory Patterns in Math Computation 22
When to Use a Factory Pattern 24
Thought Questions 25
The Abstract Factory Pattern 26
A GardenMaker Factory 26
How the User Interface Works 28
Consequences of Abstract Factory 30
Thought Questions 30
The Singleton Pattern 31
Throwing the Exception 32
Creating an Instance of the Class 32
Static Classes as Singleton Patterns 33
Creating Singleton Using a Static Method 34
This articles shows how to retrieve a list of PCs on the local network which are running MS SQL Server, and gets information about the instances, such as server name, instance name, version, and databases.
WordCloud is a visual depiction of how many times a word is used, or its frequency if you will, within a given set of words. It does this by: reading in plain text, filtering out "stop words", counting how many times a word is used, and displaying results in a Squarified Treemap.
// 學(xué)生管理.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "resource.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text
// Foward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);
struct person
{
char name[10];
int ID;
int cj_yw;
int cj_sx;
struct person* next;
struct person* pro;
}per;
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
MSG msg;
HACCEL hAccelTable;
// Initialize global strings
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING);
MyRegisterClass(hInstance);
// Perform application initialization:
if (!InitInstance (hInstance, nCmdShow))
{
return FALSE;
}
hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY);
// Main message loop:
while (GetMessage(&msg, NULL, 0, 0))
{
if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
return msg.wParam;
}
//
// FUNCTION: MyRegisterClass()
//
// PURPOSE: Registers the window class.
//
// COMMENTS:
//
// This function and its usage is only necessary if you want this code
// to be compatible with Win32 systems prior to the 'RegisterClassEx'
// function that was added to Windows 95. It is important to call this function
// so that the application will get 'well formed' small icons associated
// with it.
//
ATOM MyRegisterClass(HINSTANCE hInstance)
{
WNDCLASSEX wcex;
wcex.cbSize = sizeof(WNDCLASSEX);
wcex.style = CS_HREDRAW | CS_VREDRAW;
wcex.lpfnWndProc = (WNDPROC)WndProc;
wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;
wcex.hInstance = hInstance;
wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY);
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
wcex.lpszMenuName = (LPCSTR)IDC_MY;
wcex.lpszClassName = szWindowClass;
wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL);
return RegisterClassEx(&wcex);
}
//
// FUNCTION: InitInstance(HANDLE, int)
//
// PURPOSE: Saves instance handle and creates main window
//
// COMMENTS:
//
// In this function, we save the instance handle in a global variable and
// create and display the main program window.
//
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
HWND hWnd;
hInst = hInstance; // Store instance handle in our global variable
hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
if (!hWnd)
{
return FALSE;
}
ShowWindow(hWnd, nCmdShow);
UpdateWindow(hWnd);
return TRUE;
}
//
// FUNCTION: WndProc(HWND, unsigned, WORD, LONG)
//
// PURPOSE: Processes messages for the main window.
//
// WM_COMMAND - process the application menu
// WM_PAINT - Paint the main window
// WM_DESTROY - post a quit message and return
//
//
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
int wmId, wmEvent;
PAINTSTRUCT ps;
HDC hdc;
TCHAR szHello[MAX_LOADSTRING];
LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING);
switch (message)
{
case WM_COMMAND:
wmId = LOWORD(wParam);
wmEvent = HIWORD(wParam);
// Parse the menu selections:
switch (wmId)
{
case IDM_ABOUT:
DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);
break;
case IDM_EXIT:
DestroyWindow(hWnd);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
break;
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
// TODO: Add any drawing code here...
RECT rt;
GetClientRect(hWnd, &rt);
DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER);
EndPaint(hWnd, &ps);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
return 0;
}
// Mesage handler for about box.
LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_INITDIALOG:
return TRUE;
case WM_COMMAND:
if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
{
EndDialog(hDlg, LOWORD(wParam));
return TRUE;
}
break;
}
return FALSE;
}
// 學(xué)生管理.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "resource.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text
// Foward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);
struct person
{
char name[10];
int ID;
int cj_yw;
int cj_sx;
struct person* next;
struct person* pro;
}per;
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
MSG msg;
HACCEL hAccelTable;
// Initialize global strings
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING);
MyRegisterClass(hInstance);
// Perform application initialization:
if (!InitInstance (hInstance, nCmdShow))
{
return FALSE;
}
hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY);
// Main message loop:
while (GetMessage(&msg, NULL, 0, 0))
{
if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
return msg.wParam;
}
//
// FUNCTION: MyRegisterClass()
//
// PURPOSE: Registers the window class.
//
// COMMENTS:
//
// This function and its usage is only necessary if you want this code
// to be compatible with Win32 systems prior to the 'RegisterClassEx'
// function that was added to Windows 95. It is important to call this function
// so that the application will get 'well formed' small icons associated
// with it.
//
ATOM MyRegisterClass(HINSTANCE hInstance)
{
WNDCLASSEX wcex;
wcex.cbSize = sizeof(WNDCLASSEX);
wcex.style = CS_HREDRAW | CS_VREDRAW;
wcex.lpfnWndProc = (WNDPROC)WndProc;
wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;
wcex.hInstance = hInstance;
wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY);
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
wcex.lpszMenuName = (LPCSTR)IDC_MY;
wcex.lpszClassName = szWindowClass;
wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL);
return RegisterClassEx(&wcex);
}
//
// FUNCTION: InitInstance(HANDLE, int)
//
// PURPOSE: Saves instance handle and creates main window
//
// COMMENTS:
//
// In this function, we save the instance handle in a global variable and
// create and display the main program window.
//
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
HWND hWnd;
hInst = hInstance; // Store instance handle in our global variable
hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
if (!hWnd)
{
return FALSE;
}
ShowWindow(hWnd, nCmdShow);
UpdateWindow(hWnd);
return TRUE;
}
//
// FUNCTION: WndProc(HWND, unsigned, WORD, LONG)
//
// PURPOSE: Processes messages for the main window.
//
// WM_COMMAND - process the application menu
// WM_PAINT - Paint the main window
// WM_DESTROY - post a quit message and return
//
//
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
int wmId, wmEvent;
PAINTSTRUCT ps;
HDC hdc;
TCHAR szHello[MAX_LOADSTRING];
LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING);
switch (message)
{
case WM_COMMAND:
wmId = LOWORD(wParam);
wmEvent = HIWORD(wParam);
// Parse the menu selections:
switch (wmId)
{
case IDM_ABOUT:
DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);
break;
case IDM_EXIT:
DestroyWindow(hWnd);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
break;
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
// TODO: Add any drawing code here...
RECT rt;
GetClientRect(hWnd, &rt);
DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER);
EndPaint(hWnd, &ps);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
return 0;
}
// Mesage handler for about box.
LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_INITDIALOG:
return TRUE;
case WM_COMMAND:
if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
{
EndDialog(hDlg, LOWORD(wParam));
return TRUE;
}
break;
}
return FALSE;
}
Human Factors and Systems Interaction aims to address the main issues of concern
within systems interface with a particular emphasis on the system lifecycle
development and implementation of interfaces and the general implications of
virtual, augmented and mixed reality with respect to human and technology
interaction. Human Factors and Systems Interaction is, in the first instance, affected
by the forces shaping the nature offuture computing and systems development
Artificial Intelligence (AI) has undoubtedly been one of the most important buz-
zwords over the past years. The goal in AI is to design algorithms that transform com-
puters into “intelligent” agents. By intelligence here we do not necessarily mean an
extraordinary level of smartness shown by superhuman; it rather often involves very
basic problems that humans solve very frequently in their day-to-day life. This can
be as simple as recognizing faces in an image, driving a car, playing a board game, or
reading (and understanding) an article in a newspaper. The intelligent behaviour ex-
hibited by humans when “reading” is one of the main goals for a subfield of AI called
Natural Language Processing (NLP). Natural language 1 is one of the most complex
tools used by humans for a wide range of reasons, for instance to communicate with
others, to express thoughts, feelings and ideas, to ask questions, or to give instruc-
tions. Therefore, it is crucial for computers to possess the ability to use the same tool
in order to effectively interact with humans.
An Arduino core for the ATmega328, ATmega168, ATmega88, ATmega48 and ATmega8, all running a [custom version of Optiboot for increased functionality](#write-to-own-flash). This core requires at least Arduino IDE v1.6.2, where v1.8.5+ is recommended. <br/>
**This core gives you two extra IO pins if you're using the internal oscillator!** PB6 and PB7 is mapped to [Arduino pin 20 and 21](#pinout).<br/>
If you're into "generic" AVR programming, I'm happy to tell you that all relevant keywords are being highlighted by the IDE through a separate keywords file. Make sure to test the [example files](https://github.com/MCUdude/MiniCore/tree/master/avr/libraries/AVR_examples/examples) (File > Examples > AVR C code examples). Try writing a register name, <i>DDRB</i> for instance, and see for yourself!
歐母龍PLC例程PLC控制器源碼255個(gè)合集:1600T俄羅斯壓力機(jī).rar200噸壓機(jī)程序 omron 的機(jī)子C系列的.rar3MK136舊磨床現(xiàn)程序.rar3電機(jī)延時(shí)控制啟停.rar5V編碼器信號如何接入CP1H高數(shù)計(jì)數(shù)案例.rar6路搶答器源碼.rar902002 OMRON.rarASCII Generic Protocol Macro Object Code.zipASCII Generic Protocol Macro.zipC3電樞異物吸引.rarCalendar Calculation.zipcarbon.rarCompact Flash Memory Write.zipCounter Multiplex.zipcp1h 高速計(jì)數(shù)觸發(fā)中斷注意點(diǎn).rarcp1h-x40用在非標(biāo)飲料線上的程序,有注解.rarCP1H與愛默生溫控模塊的通訊程序.rarCP1L and CP1H EasyModbus FB.zipCPM1A編寫的贊揚(yáng)15T立式注塑機(jī).rarCPM2A Interupt High Speed Counting Sample.zipCPM2A自身時(shí)鐘六個(gè)時(shí)間段觸發(fā)程序.rarCQM1 Host Link Master.zipCQM1H 21的例子程序,有溫度壓力等PID控制。.rarCQMaster.swp.zipCS CJ CP NSJ password set.zipCS1 C Mode Hostlink.zipCS1-CJ1 Floating Point to Fixed Point Conversion for HMI.zipcub.rarCX-Programmer Ver.5 Introduction Guide R120-E1-01..zipCX-Programmer Ver.5 Introduction to Function Blocks Guide R121-E1-01.zipC_Mode_Hostlink.zipDeviceNet Explicit Message Example.zipdieban.rarEasy to use Modbus RTU Master for CP1L CP1H CJ1 CJ2 CS1.zipExample of Using Daylight Saving FB's.zipExample Scale Meter Protocol.zipFB Calculate Day Of Week.zipFB Day light savings function block.zipFB Extract Time Date into SecMin Hr Day Mth Yr.zipFB Scale with parameters.zipGKF1250離心機(jī)CXP.rargkf1250離心機(jī)cxpgkf離心機(jī)omron.rarJH21-200程序.rarLED液壓機(jī).rarlogging+ filewrite.ziplpr-des.rarModbus Protocol Macro Object Code.zipModbus Protocol Macro.zipModbus RTU Sample Code CJ1-SCB.rarModbus TCP Client using FB's.zipOmron CS1 Sequencer.zipOMRON E6CP絕對值編碼器使用實(shí)例。編碼器為8位格雷碼輸出.rarOmron Modbus Slave Ladder.zipOmron Plc 變頻一帶三例程.rarOMRON PLC編程示范.raromron--MOV傳送指令.raromron-cs1g-h-cpu42日本機(jī)的程序.rarOmron_CJ2_to_AB_EIP_Tag_Datalink_Example.rarOMRON接駁臺.rarOMRON控制2伺服.rarOMRON溫度,壓力模擬量輸入程序.rarOMRON照明設(shè)備程序.raromron的PLC案例程序.rarOMRON程序舉例.rarOMRON程序舉例2.rarOMRON紙病分析系統(tǒng)-PLC程序(CJ1G).zipomron脈沖輸出到驅(qū)動(dòng)器的程序.rarPCB 沉銅線程序.rarPID溫度控制的PLC程序設(shè)計(jì)實(shí)例.rarPinstamp.zipPLC Clock adjustment with screen.zipPLC錳鋼程序cpm2a.zipPolls and Writes setpoints to E5CK Process Controller - E5CK.swp.zipPRO9連拉.rarProcess states sequence logics.zipQuadrature Input for Standard CPM1A DC Inputs.zipRandom Number Generator.zipScaling in CJ1 CS1 PLC's.zipSMS - GSM PLC Communications.zipsony 公司 某機(jī)臺控制程序.rarStepNext.cpt.zipSTUP Example.zipTemplate for Step-Step Next Sequence.zipToggle Button.zipTracking product on conveyor.zipTXD-RXD Quickstart Programs.zipTXD-RXD Serial Port Handling.zipUseable timer.zipV600-E5CK.zipV700-V720 RFID Protocol Macro.zipVB與OMRON PLC通訊源碼.rarWoodwood Controler Example Protocol Program.zipYH32-315油壓機(jī)程序.rar一個(gè)CJ1M的程序.rar一個(gè)OMRON程序,帶位置控制模塊.rar一個(gè)生產(chǎn)線上潤滑控制的小程序.rar一些簡單的cpm1a程序.rar一控三恒壓供水程序.rar三層提升機(jī)歐姆龍CQM1H程序.rar三菱400噸和200號沖床程序.rar上海產(chǎn)自動(dòng)模切機(jī)飛達(dá)部程序.zip上海獅印全自動(dòng)啤機(jī)程序.rar東芝壓鑄機(jī)梯形圖.rar兩步法吹瓶機(jī).rar鄉(xiāng)林剪臺.rar買書的隨書樣例.rar井研磨邊機(jī).rar交通燈注釋全.rar今機(jī)立式注塑機(jī)程序.rar伺服電機(jī)正反轉(zhuǎn)控制.rar位置控制(旋轉(zhuǎn)編碼器與PLC).rar充磁機(jī)程序.rar先啟后?!『髥⑾韧!∈吕?rar沖床程序.rar分揀線主機(jī)一個(gè)CJ1M的分揀線程序下掛CP1H.rar利慧利樂灌裝機(jī)程序.rar刮水器停止位置檢查程序.rar力泰翻胚機(jī)程序.rar北人04印刷機(jī)程序.rar北人LQD10騎馬裝訂程序.rar半自動(dòng)吹瓶機(jī)的程.rar南京印刷機(jī).zip卡板程式.rar壓制機(jī)程序(帶解釋,注釋).rar壓力機(jī)控制程序.rar原創(chuàng)液壓機(jī)程序帶注釋歐姆龍PLC加信捷文本.rar原點(diǎn)搜索程序.rar雙翻分揀機(jī).rar雙邊機(jī).rar反滲透整套PLC控制.rar臺灣產(chǎn)染色機(jī)歐姆龍PLC帶3只IO擴(kuò)展控制程序.rar臺灣大拉無板.rar啤酒廠酒瓶美容機(jī).rar四川綿陽建豐熱磨工段.rar在用設(shè)備程序.rar垂直涂布.rar外端子設(shè)計(jì)數(shù)值.rar大型熱電廠 PLC程序(帶注解).rar大搖動(dòng)超聲波清洗機(jī).rar大連75密練注釋程序.rar安呼12級.rar富佳扶梯程序.rar對齊度編程??!.rar小車控制程序.rar小車送料”例程.rar廣東鍛壓氣壓沖床程序(80T)有詳細(xì)注解.rar廣告牌燈箱.rar微電機(jī)刷簧自動(dòng)組裝程序.rar微粉磚自動(dòng)送料帶OMRON CQM2A+擴(kuò)展程序帶注釋.rar意大利進(jìn)口皮革壓花.rar扎鋼機(jī)程序.rar打包機(jī).rar拔蓋機(jī).rar撥碼控制.rar擋磚磨邊機(jī)(新1).rar捷豹空壓機(jī)控制程序.rar接木機(jī).rar控制程序例子.rar推掛.rar攻絲機(jī)2(新).rar料位顯示.rar旋轉(zhuǎn)門控制程序1.rar無協(xié)議.rar無心磨床(OMRON系統(tǒng),帶機(jī)械手有詳細(xì)注解).rar無線膠裝機(jī)歐姆龍程序.zip日本人編的程序 拋光研磨.rar日本成型磨床控制程序(附注釋)歐姆龍CPM1A.rar板坯定厚.rar樣例,有注釋.rar模擬量試驗(yàn).rar歐姆龍CJ1M鉻化機(jī)程序帶注釋.rar歐姆龍CP1H例程.rar歐姆龍CPM1A的PLC.rar歐姆龍CPM2AH PLC和歐姆龍NTZ觸摸屏編寫的超聲波清洗機(jī)程序..rar歐姆龍CPM2AH Host Link通訊程序(發(fā)布源碼).rar