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.
标签: dimensions arbitrary function reverse
上传时间: 2016-04-16
上传用户:waitingfy
使用串口获取标准GPS卫星时间的VB代码 1 获取GPS时间字串 2 演算UTC和当地时间差 3 纠正系统时间和卫星时间差 注:误差精度在5秒内(和计算机时钟以及GPS信号干扰有关)
上传时间: 2016-04-16
上传用户:waitingfy
OSTA定义的UDF标准的2.50版本,在UDF 2.0版本上新加入了metadata partition支持.
标签: UDF partition metadata OSTA
上传时间: 2014-01-22
上传用户:tuilp1a
QTP全名Quick Test Professional,是MI公司出品的一款测试工具.它的优点是使用方便,功能强大并且可以通过与测试管理工具的互连达到自动化功能测试的目的. QTP是专门针对B/S模式的测试工具.它具有:识别能力强,回放精确等优点,是进行B/S模式下功能测试的首选工具
标签: Professional QTP Quick Test
上传时间: 2016-04-21
上传用户:tyler
IEEE Std 802[1].15.4-2003协议标准.rar
上传时间: 2013-12-18
上传用户:banyou
求解 形如 a*x^2+b*x+c=0 (mod p)的二次同余方程,其中p为任意素数,a,b,c为任意整数.
上传时间: 2014-01-11
上传用户:er1219
用java编写的标准化考试系统 (B/S网络版)
上传时间: 2013-12-18
上传用户:qoovoop
用java编写的 图书查询系统 (B/S网络版)
上传时间: 2013-12-18
上传用户:三人用菜
该系统是一个B/S结构的公司定饭系统,整套软件由JSP编制,希望大家能够多提宝贵意见,但请不要将它应用于商业环境,如实在要使用的话,请与作者联系!(使用此系统无比要有ORACLE8i以上版本数据库!)
上传时间: 2014-10-14
上传用户:Shaikh
B/S结构邮件系统的源码,该代码基本实现了收发邮件的功能
上传时间: 2013-12-23
上传用户:851197153