1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if
A = 1 2 3 then B = 3 2 1
4 5 6 6 5 4
7 8 9 9 8 7
Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A).
2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its pOSition in the fibonacci sequence. Here is a sample of input and output:
Enter k>0: 100
144 is the smallest fibonacci number greater than or equal to 100.
It is the 12th fibonacci number.
這篇英文論文主要介紹了基于TI公司TMS320C24x的直流無(wú)刷電機(jī)控制。A complete solution proposal is
presented below: control structures, power hardware topology, shaft
pOSition sensors, control hardware and remarks on energy conversion
efficiency can be found in this document.
The PMSM FOC is made of several C modules, compatible with the free-of-charge IAR
EWARM KickStart edition toolchain version 4.42. It is used to quickly evaluate both the MCU
and the available tools. In addition, when used together with the STM32F103xx motor
control starter kit (STM3210B-MCKIT) and PM motor, a motor can be made to run in a very
short time. It also eliminates the need for time-consuming development of FOC and speed
regulation algorithms by providing ready-to-use functions that let the user concentrate on
the application layer. Moreover, it is possible to get rid of any speed sensor thanks to the
sensorless algorithm for rotor pOSition reconstruction.
非常好的優(yōu)化算法的書,詳細(xì)介紹了蟻群算法和粒子群算法以及相關(guān)的matlab工具箱,講了理論和應(yīng)用給出了工具箱的下載地址。
Swarm intelligence is an innovative computational way to solve hard problems. In particular, particle swarm optimization, also commonly known as PSO, mimics the behavior of a swarm of insects or a school of fish. If one of the particle discovers a good path to food the rest of the swarm will be able to follow instantly even if they are far away in the swarm. Swarm behavior is modeled by particles in multidimensional space that have two characteristics: a pOSition and a velocity. These particles wander around the hyperspace and remember the best pOSition that they have discovered. They communicate good pOSitions to each other and adjust their own pOSition and velocity based on these good pOSitions.
獨(dú)立flash播放器!This the developer’s wiki for Gnash and related projects. Content on these pages may not represent the official pOSition of the Gnash team. You must register and be given access by the administrator to be able to write to the wiki registration is free, it’s friendly, and it stops spammers.
This paper provides a rigorous comprehensive approach to the design of the principal software
algorithmsutilized inmodern-day strapdown inertial navigationsystems: integration of angular rate into attitude,
acceleration transformation/integration into velocity, and integration of velocity into pOSition.
This diskette (version 1.0) contains demonstration programs and source codes in MATLAB (v.5.2) for algorithms listed in the textbook Global pOSitioning Systems, Inertial Navigation, and Integration, by M. S. Grewal, Lawrence Weill, and A. P. Andrews, published by John Wiley and Sons, 2000.
Contents: MATLAB (Version 5.2) Demonstrations & Scripts
Chapter4
ephemeris.m calculates the GPS satellite pOSition in ECEF coordinates from its ephemeris parameters.
Chapter5
Klobuchar_fix.m calculates the ionospheric delay.
Chapter6 (shows the quaternion utilities)