虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

current

  • This code outputs various NMEA strings to a com port. The code was originally used to test naviati

    This code outputs various NMEA strings to a com port. The code was originally used to test naviation programmes. First select the required com port and the required NMEA message string. There is a default starting position but this can be changed to suit just by typing in a new position. Click on the Start button the current position displayed will change according to the speed and heading selected and the selected NMEA string will be output to the com port and will reflect the current position as displayed. There is a text box which is normally not visible. If you change this to visible the relevant NMEA string can be displayed.

    标签: code originally outputs naviati

    上传时间: 2013-11-30

    上传用户:熊少锋

  • Kullanı lan bazı matlab bilgileri Matlabda kodlar mfile lara yazı lı p kaydedile

    Kullanı lan bazı matlab bilgileri Matlabda kodlar mfile lara yazı lı p kaydedilebilir. Ü st menüden, file, new, mfile. Command windowa yazdı kları nı zı kaydedemezsiniz. Yazdı ğ ı nı z kodu ç alı ş tı rabilmeniz iç in ç alı ş tı ğ ı nı z current directory nin altı na kaydetmelisiniz. current directory i dosyanı n bulunduğ u yere de gö türebilirsiniz

    标签: 305 bilgileri kaydedile Matlabda

    上传时间: 2014-01-06

    上传用户:miaochun888

  • online sales system of texttile mill was a project within which there was great opportunity for Lear

    online sales system of texttile mill was a project within which there was great opportunity for Learning about Internet and E-commerce. As current era is the era of Communication, and Internet is becoming the vital source of communication and Information. Online sale system of fabrics is the requirement of evey texttile mill Associated (put) Lahore. Considering these reasons this project was developed.

    标签: opportunity was texttile project

    上传时间: 2017-07-08

    上传用户:busterman

  • Demo Name: Main Author: Ted Rybicki Purpose: Sync up systems and workstations clock through

    Demo Name: Main Author: Ted Rybicki Purpose: Sync up systems and workstations clock through firewalls with socks support. NOTE: You will need to set Name field in IdSocksInfo1 to your socks server for socks support to work correctly. History: Date: 27/10/2002 01:49:13 Checked with Indy version: 9.0 ---------------------------------------------------------------------------- Notes: Demonstrates a DateTime client getting current date and time from remote DateTimeServer A list of time servers is available at: http://www.eecis.udel.edu/~mills/ntp/servers.html

    标签: workstations Rybicki Purpose systems

    上传时间: 2013-12-27

    上传用户:helmos

  • The code for this article was written for version 1.0 of the Active Template Library (ATL). The cu

    The code for this article was written for version 1.0 of the Active Template Library (ATL). The current version of the code (in SieveATL) was built with Visual C++ 6.0 and the ATL provided with that compiler. It may be slightly different than the code shown in the article. The directory SieveMFC contains an MFC version of a component equivalent to the ATL version discussed in the article. It was built with version 5 of the C++ compiler and the MFC version provided with it. The code discussed in the article was later adapted for Hardcore Visual Basic, Second Edition. Comparable Visual Basic versions are discussed in Chapter 10 of the book. Bruce McKinney

    标签: The for Template Library

    上传时间: 2013-12-01

    上传用户:古谷仁美

  • Solve the 8-puzzle problem using A * algorithme. Input: Program reads start state and goal state

    Solve the 8-puzzle problem using A * algorithme. Input: Program reads start state and goal state and heuristic (N or S) from EightPuzzle.INP file.0 representing blank. There are 2 Heuristic: 1. N: Number of misplaced tiles 2. S: Sum of Manhattan distance of current location and target location. Format: The first line write type of heuristic (N or S). Next is the status of departing and landing status. Between 2 states of 1 line blank. See examples EightPuzzle.INP

    标签: state algorithme Program problem

    上传时间: 2017-08-12

    上传用户:jjj0202

  • 本程序的开发环境为MATLAB6.5版本

    本程序的开发环境为MATLAB6.5版本,所编程序须在此环境下运行。由于气动模型的离散性,且采用了许多工程计算经验公式和实验数据,所以在编程时会比较繁杂,为了使程序读起来方便清晰,在编制程序时采用了如下的思路: 考虑到程序的一般结构,这里将气动计算系统分为三大模块:输入模块、气动计算模块以及结果输出模块。考虑到本系统的特殊性,又将输入模块划分为初始数据输入模块、导弹外形参数模块以及插值数据库模块,并采用M文件格式编制;气动计算模块则采用了子系统的结构形式,并用Simulink 模块编制;结果输出模块则是采用M文件的形式将气动计算模块得到的结果输出到工作区间并将数据结果绘制成曲线。最后,为了运行的方便,编制了一个名为Start_file.m的M文件,按流程依次调用编写的所有程序,在运行此程序时,只需将所有程序加载于“current Directory”指定的文件夹中(即路径的设定),并在“Command Window”中输入“Start_file”即可。 (导弹气动计算程序)

    标签: MATLAB 6.5 程序 开发环境

    上传时间: 2014-01-04

    上传用户:xhz1993

  • 最新的Host AP 新添加了许多pcmcia 的驱动

    最新的Host AP 新添加了许多pcmcia 的驱动,Prism2/2.5/3 Atheros ar521x PrismGT FreeBSD 6-current 此驱动已经添加到了2.6.14内核中。

    标签: pcmcia Host AP 驱动

    上传时间: 2017-08-18

    上传用户:hustfanenze

  • distmesh

    matlab有限元网格划分程序 DistMesh is a simple MATLAB code for generation of unstructured triangular and tetrahedral meshes. It was developed by Per-Olof Persson (now at UC Berkeley) and Gilbert Strang in the Department of Mathematics at MIT. A detailed description of the program is provided in our SIAM Review paper, see documentation below. One reason that the code is short and simple is that the geometries are specified by Signed Distance Functions. These give the shortest distance from any point in space to the boundary of the domain. The sign is negative inside the region and positive outside. A simple example is the unit circle in 2-D, which has the distance function d=r-1, where r is the distance from the origin. For more complicated geometries the distance function can be computed by interpolation between values on a grid, a common representation for level set methods. For the actual mesh generation, DistMesh uses the Delaunay triangulation routine in MATLAB and tries to optimize the node locations by a force-based smoothing procedure. The topology is regularly updated by Delaunay. The boundary points are only allowed to move tangentially to the boundary by projections using the distance function. This iterative procedure typically results in very well-shaped meshes. Our aim with this code is simplicity, so that everyone can understand the code and modify it according to their needs. The code is not entirely robust (that is, it might not terminate and return a well-shaped mesh), and it is relatively slow. However, our current research shows that these issues can be resolved in an optimized C++ code, and we believe our simple MATLAB code is important for demonstration of the underlying principles. To use the code, simply download it from below and run it from MATLAB. For a quick demonstration, type "meshdemo2d" or "meshdemond". For more details see the documentation.

    标签: matlab有限元网格划分程序

    上传时间: 2015-08-12

    上传用户:凛风拂衣袖

  • c#简单计算器

    // 学生管理.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; }

    标签: 计算器 学生

    上传时间: 2016-12-29

    上传用户:767483511