登录
首页 » matlab » Blocks

Blocks

于 2013-03-17 发布 文件大小:2KB
0 302
下载积分: 1 下载次数: 3

代码说明:

  clc close all clear all I=imread( desert.jpg ) [r c]=size(I) bs=16 Block Size (8x8) nob=(r/bs)*(c/bs) Total number of 8x8 Blocks Dividing the image into 8x8 Blocks kk=0 for i=1:(r/bs) for j=1:(c/bs) Block(:,:,kk+j)=I((bs*(i-1)+1:bs*(i-1)+bs),(bs*(j-1)+1:bs*(j-1)+bs)) end kk=kk+(r/bs) end Accessing individual Blocks figure imshow(Block(:,9,1)) This shows u the fist 8x8 Block in a figure window figure imshow(Block(:,:,2))

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MIMO
    上传一个多输入多输出的状态空间方程的预测控制程序,采样三输入双输出。仿真结果能得到期望的设定值.(Upload predictive control program a multi-input multi-output state space equations, three-input dual-output sampling. The simulation results can be obtained the desired setpoint.)
    2020-12-16 11:09:13下载
    积分:1
  • mesh1
    Simulation Of Patch Antenna Using MATLAB
    2011-10-22 03:55:28下载
    积分:1
  • 6_1
    1. 定义一个抽象学生类CStudent,它具有公有成员函数Average(),该函数用于计算学生的平均分,函数为虚函数;定义一个文科学生类CStudentLiberalArts,它是类CStudent的派生类,并以公有方式派生,它具有的成员有: 1) 保存英语、政治、数学、地理和历史、美术成绩的整形成员变量; 2) 设置上述变量的公有成员函数; 3) 输出上述变量的公有成员函数; 4) 公有的成员函数Average()用于计算学生的平均分; 定义一个理科学生类CStudentScience,它是类CStudent的派生类,并以公有方式派生,它具有的成员为: 1) 保存英语、物理、数学、化学和计算机、程序设计成绩的整形成员变量; 2) 设置上述变量的公有成员函数; 3) 输出上述变量的公有成员函数; 4) 公有的成员函数Average()用于计算学生的平均分; 编写主函数,并测试以下内容: 1) 定义一个CStudent的指针数组pStu,数组长度为4; 2) 动态创建2个文科学生的对象,地址存于pStu数组的0-1个元素内; 3) 动态创建2个理科学生的对象,地址存于pStu数组的2-3个元素内; 4) 利用while循环调用数组里每个元素的计算平均成绩操作; 释放动态分配的空间,确保必要的析构函数能被调用。 (1 define an abstract class student CStudent, it has a public member function Average (), this function is used to calculate the student s average points function as virtual function definition of a liberal arts student class CStudentLiberalArts, it is the class CStudent derived class, and public be derived, which has members are: 1) Save English, shaping member variables politics, mathematics, geography and history, art achievements 2) Set the above variables public member function 3) public member function of the output of the variable 4) public member function Average () is used to calculate the average student s points The definition of a science student class CStudentScience, it is the class CStudent derived class, and public manner derived, which has members as follows: 1) Save English, physics, mathematics, chemistry and computer programming achievement shaping member variables 2) Set the above variables public member function 3) public member function of t)
    2014-10-20 15:29:16下载
    积分:1
  • ElectronicsandCircuitAnalysisusingMATLAB
    Matlab book Engineering Matlab Programming Engineering Matlab Programming
    2009-03-19 19:54:21下载
    积分:1
  • Convolutional
    卷积编码和译码全过程的MATLAB源代码,已通过实验(Convolutional coding and decoding of the entire process of MATLAB source code, has passed the experimental)
    2009-04-13 11:54:48下载
    积分:1
  • FIR---matlab
    说明:  实现数字滤波(刚开始接触不知道分类对不对)请见谅(Digital filter (do not know the beginning of exposure classification is correct or not), please forgive me)
    2009-07-29 14:14:34下载
    积分:1
  • prob_tgamma
    通过这个程序可以绘制两个相关变量的随机分布图形。(Through this program can draw two random variables related to graphics.)
    2010-05-05 17:10:34下载
    积分:1
  • Malla-PAT
    Mesh Function finite element
    2014-01-18 15:47:10下载
    积分:1
  • MATLAB智能算法30个案分析 源代码
    matlab的30个人工智能例程 案例 网课对应资源,涉及遗传算法,模拟退火蚁群等算法(v30 cases of artificial intelligence routines in MATLAB Network course corresponding resources, involving genetic algorithm, simulated annealing ant colony algorithm, etc.)
    2021-04-13 23:18:55下载
    积分:1
  • DTC
    三相异步电机的直接转矩控制matlab仿真模型,发出来供大家学习、指正,希望对你有用。(The simulink model of 3-phase iduction motor DTC control,it is maybe useful to your study.)
    2010-07-21 16:32:13下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载