登录
首页 » matlab » Blocks

Blocks

于 2013-03-17 发布 文件大小:2KB
0 301
下载积分: 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 个回复

  • NS-2_Release_2_6_Documentation.pdf.tar
    tutorial de NIST qui explique l implementation de wimax pour NS2
    2015-02-10 00:09:43下载
    积分:1
  • kantao_V6.2
    小波包分析提取振动信号中的特征频率,处理信号的时频分析,matlab程序运行时导入数据文件作为输入参数。( Wavelet packet analysis to extract vibration signal characteristic frequency, When processing a signal frequency analysis, Import data files as input parameters matlab program is running.)
    2016-05-25 12:37:10下载
    积分:1
  • xyj
    说明:  洗衣机的模糊控制的matlab实现小Demo(Fuzzy Control of Washing Machine Based on MATLAB Demo)
    2019-04-10 09:42:45下载
    积分:1
  • VMD
    说明:  VMD变分模态分解函数和测试代码,可用于电能质量信号分析。(variational mode decomposition function and test code can be used for power quality signal analysis.)
    2020-10-16 14:51:15下载
    积分:1
  • sdarticle2
    since direct jornal English
    2011-07-10 16:47:33下载
    积分:1
  • fish
    人工鱼群算法,一种基于智能的鱼群算法,用于学习目的。(Swarm fish code for learning with matlab tool)
    2012-10-01 17:00:09下载
    积分:1
  • music_capon_practice
    doa算法,利用matlab进行达波方向的仿真程序,(doa suan fa cheng xu)
    2013-08-23 14:32:31下载
    积分:1
  • buck_vol_control_matrix
    电源系统常用的电压控制仿真系统,研究人员必备佳品。(Power system voltage control simulation system used, the researchers required to share.)
    2014-09-23 22:15:23下载
    积分:1
  • trackmpc
    TRACKMPC Tracking Predictive Control without constraints. (Script file) Implements unconstrained MPC for stable SISO discrete-time system defined as LTI object. Offset-free tracking included.
    2011-11-05 09:11:36下载
    积分:1
  • Barker_5
    雷达信号处理,巴克码信号波形仿真,主要是5位巴克码的仿真(Radar signal processing, Barker code waveform simulation)
    2010-06-24 08:39:46下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载