matlab 排序从小到大,matlab matlab用起泡法对10个数由小到大排序 联合开发网 - pudn.com...

matlab

所属分类:matlab例程

开发工具:matlab

文件大小:4KB

下载次数:1

上传日期:2017-01-01 17:57:14

上 传 者:hml

说明:  matlab用起泡法对10个数由小到大排序,即将相邻的两个数比较,将小的调到前头。

程序编写一个函数文件,实现以下功能:输入一个数组,对其元素进行从大到小的排列,将排序后的数组输出;求数组元素的最大值并求出它在原数组中的位置。

(3)有一个4×5矩阵,编程求其最大值及其所处的位置。

(4)编程求∑_(n 1)^20▒ n!

(5)有一个函数f(x,y) x^2+sinxy+2y,写一个程序,输入自变量的值,输出函数值。

(matlab with bubble sort method to 10 the number of small to large, we will compare two adjacent numbers, will be transferred to the top of the small. Programming a function file, the following functions: Enter an array, its elements in descending order, the array output sorted the maximum demand of the array elements and find out its position in the original array. (3) has a matrix 45, seeking the maximum value and the programmed location. (4) programming requirements Σ_ (n 1) ^ 20▒ n! (5) there is a function f (x, y) x ^ 2+sinxy+2y, write a program that value, the output value of the input function arguments.)

文件列表:[举报垃圾]

实验一

......\代码一.txt,156,2016-05-27

......\代码三.txt,223,2016-05-27

......\代码二.txt,238,2016-05-27

......\代码五.txt,53,2016-05-27

......\代码四.txt,92,2016-05-27

实验三

......\代码.txt,468,2016-05-27

实验二

......\代码1.1.txt,19,2016-05-27

......\代码1.2.txt,149,2016-05-27

......\代码1.3.txt,207,2016-05-27

......\代码2.txt,169,2016-05-27

实验四

......\代码一.txt,44,2016-05-27

......\代码三.txt,474,2016-05-27

......\代码二.txt,375,2016-05-27

近期下载者:

相关文件:

收藏者:

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值