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.
资源简介: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 ...
上传时间: 2016-04-16
上传用户:waitingfy
资源简介:This file is a function under matlab which allow to compute and plot Amplitude modulation : AM. We can observe the effect of the information parameter can be changed such as amplitude and modulation ratio m.
上传时间: 2017-06-27
上传用户:cooran
资源简介:This file is a function under matlab which allow to compute and plot fast fourier transform of a signal. We can observe the effect of the signal parameter can be changed such as frequency and N points.
上传时间: 2017-06-27
上传用户:米卡
资源简介:This file is a function under matlab which allow to read, play and plot audio signals from wav file. We can also extract the sampling frequency and coding bit number
上传时间: 2014-01-25
上传用户:diets
资源简介:This file is a function under matlab which allow to compute several statistical parameter of random signal such as variance, power, mean values, std, ...
上传时间: 2017-06-27
上传用户:ruixue198909
资源简介:具体功能, this a trading plan template which introduce the basic aspects of a good trading plan
上传时间: 2013-12-26
上传用户:cjf0304
资源简介:it s a sorting c code which is using many kinds of sort algorithm
上传时间: 2014-01-25
上传用户:hasan2015
资源简介:Aodv for NS-2. A mobile ad-hoc network (MANET) is a kind of wireless ad-hoc network, and is a self-configuring network of mobile routers connected wirelessly. MANET may operate in a standalone fashion, or may be connected to the larger In...
上传时间: 2014-01-12
上传用户:zsjzc
资源简介:UnZip is a small zipfile extract utility. It is written to be assmall portable as possible and is intended to be starting point for im-plementation of .ZIP files in non-IBM environments.Source code is provided in C and Turbo Pascal. If you ...
上传时间: 2014-01-20
上传用户:维子哥哥
资源简介:Design of the interface between MCU and Serial A/D Converter TLC0834
上传时间: 2013-11-27
上传用户:Breathe0125
资源简介:Evenly spaces the cities on the perimeter of a wheel and returns a vector of their coordinates 利用AI技术生成一个圆
上传时间: 2016-11-19
上传用户:dyctj
资源简介:Methods void close() int read() reads and returns a chracter. int read(char[] characterArray) populates an array of characters with data. boolean ready() - returns “true” if there is data available. ……
上传时间: 2013-12-18
上传用户:小儒尼尼奥
资源简介:This circuit is a nice edge detector that gives you synchronous notification of edges on your input signal. There s no excuse for not doing this it s a tiny circuit in just five lines of Verilog.
上传时间: 2017-09-18
上传用户:xieguodong1234
资源简介:this is about cryptography. takes text as input and decrypt it and then aagin in plane text
上传时间: 2017-06-22
上传用户:笨小孩
资源简介:The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The fir...
上传时间: 2015-06-09
上传用户:weixiao99
资源简介:An AHB system is made of masters slaves and interconnections. A general approach to include all possible "muxed" implementation of multi layered AHB systems and arbitrated AHB ones can be thought as an acyclic graph where every source node ...
上传时间: 2015-12-12
上传用户:lyy1234
资源简介:This code is a cipher which takes in a plaintext or ciphertext string and encrypts / decrypts according to a user defined key value.
上传时间: 2014-01-05
上传用户:181992417
资源简介:Preparation of a function, even to the importation of n, the function call seeking +1/n 1/2+1/4+ .... When n is odd input, the function call 1/1+1/3+ ... +1/n (using function pointer)
上传时间: 2014-01-21
上传用户:semi1981
资源简介:This is an application based program which creates a text pad in which you can write anythng & that too in italics
上传时间: 2017-03-26
上传用户:gonuiln
资源简介:it is an management of a medical store which takes less time than maintaining all records manually
上传时间: 2014-01-23
上传用户:dsgkjgkjg
资源简介:UART code which tells the function and provide a lab for UART
上传时间: 2017-06-01
上传用户:思琦琦
资源简介:This project provides a general purpose library which implements read and write support for MMC, SD and SDHC memory cards. Written in ANSI C portable for several Microcontrollers.
上传时间: 2014-01-21
上传用户:zhangyigenius
资源简介:Description: C4.5Rule-PANE is a rule learning method which could generate accurate and comprehensible symbolic rules, through regarding a neural network ensemble as a pre-process of a rule inducer. Reference: Z.-H. Zhou and Y. Jiang. Medic...
上传时间: 2013-11-30
上传用户:wcl168881111111
资源简介:BNB20 Finds the constrained minimum of a function of several possibly integer variables. % Usage: [errmsg,Z,X,t,c,fail] = % BNB20(fun,x0,xstatus,xlb,xub,A,B,Aeq,Beq,nonlcon,settings,options,P1,P2,...) % % BNB solves problems of th...
上传时间: 2014-01-13
上传用户:youth25
资源简介:American Gladiator,You are consulting for a game show in which n contestants are pitted against n gladiators in order to see which contestants are the best. The game show aims to rank the contestants in order of strength this is done via a ...
上传时间: 2013-12-18
上传用户:windwolf2000
资源简介:Hello User This is nothing, but a simple program which if kept in start of windows will shut down the system by itself within five minutes of starting. It takes the time from the system & starts its timer to shut down after 5 minutes (...
上传时间: 2016-12-26
上传用户:ynwbosss
资源简介:Hello User This is nothing, but a simple program which if kept in start of windows will shut down the system by itself within five minutes of starting. It takes the time from the system & starts its timer to shut down after 5 minutes (...
上传时间: 2014-12-20
上传用户:xinyuzhiqiwuwu
资源简介:Hello User This is nothing, but a simple program which if kept in start of windows will shut down the system by itself within five minutes of starting. It takes the time from the system & starts its timer to shut down after 5 minutes (...
上传时间: 2016-12-26
上传用户:xfbs821
资源简介:Hello User This is nothing, but a simple program which if kept in start of windows will shut down the system by itself within five minutes of starting. It takes the time from the system & starts its timer to shut down after 5 minutes (...
上传时间: 2016-12-26
上传用户:lx9076
资源简介:Hello User This is nothing, but a simple program which if kept in start of windows will shut down the system by itself within five minutes of starting. It takes the time from the system & starts its timer to shut down after 5 minutes (...
上传时间: 2016-12-26
上传用户:yxgi5