Welcome![Sign In][Sign Up]
Location:
Search - input MATLAB

Search list

[matlab咖吗滤波matlab

Description:

function [h,s,v] = rgb2hsv(r,g,b)
%RGB2HSV Convert red-green-blue colors to hue-saturation-value.
%   H = RGB2HSV(M) converts an RGB color map to an HSV color map.
%   Each map is a matrix with any number of rows, exactly three columns,
%   and elements in the interval 0 to 1.  The columns of the input matrix,
%   M, represent intensity of red, blue and green, respectively.  The
%   columns of the resulting output matrix, H, represent hue, saturation
%   and color value, respectively.
%
%   HSV = RGB2HSV(RGB) converts the RGB image RGB (3-D array) to the
%   equivalent HSV image HSV (3-D array).


Platform: | Size: 1517 | Author: leohee | Hits:

[OtherINTRODUCTION TO MATLAB FOR

Description: 1 Tutorial lessons 1 1 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Basic features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 A minimum MATLAB session . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3.1 Starting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3.2 Using MATLAB as a calculator . . . . . . . . . . . . . . . . . . . . . 4 1.3.3 Quitting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.1 Creating MATLAB variables . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.2 Overwriting variable . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.3 Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.4 Making corrections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.5 Controlling the hierarchy of operations or precedence . . . . . . . . . 6 1.4.6 Controlling the appearance of °oating point number . . . . . . . . . . 8 1.4.7 Managing the workspace . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4.8 Keeping track of your work session . . . . . . . . . . . . . . . . . . . 9 1.4.9 Entering multiple statements per line . . . . . . . . . . . . . . . . . . 9 1.4.10 Miscellaneous commands . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.4.11 Getting help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 Tutorial lessons 2 12 2.1 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 Basic plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.2 Creating simple plots . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.3 Adding titles, axis labels, and annotations . . . . . . . . . . . . . . . 15 2.2.4 Multiple data sets in one plot . . . . . . . . . . . . . . . . . . . . . . 16 2.2.5 Specifying line styles and colors . . . . . . . . . . . . . . . . . . . . . 17 2.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.4 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5 Matrix generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5.1 Entering a vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5.2 Entering a matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.5.3 Matrix indexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.5.4 Colon operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.5 Linear spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.6 Colon operator in a matrix . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.7 Creating a sub-matrix . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.5.8 Deleting row or column . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.9 Dimension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.10 Continuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.11 Transposing a matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.12 Concatenating matrices . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.13 Matrix generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.5.14 Special matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3 Array operations and Linear equations 30 3.1 Array operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.1 Matrix arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.2 Array arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . 30 3.2 Solving linear equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.2.1 Matrix inverse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.2.2 Matrix functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4 Introduction to programming in MATLAB 35 4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2 M-File Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.2.2 Script side-eRects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 4.3 M-File functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.3.1 Anatomy of a M-File function . . . . . . . . . . . . . . . . . . . . . . 38 4.3.2 Input and output arguments . . . . . . . . . . . . . . . . . . . . . . . 40 4.4 Input to a script ¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.5 Output commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 5 Control °ow and operators 43 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.2 Control °ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.2.1 The ``if...end'' structure . . . . . . . . . . . . . . . . . . . . . . . 43 5.2.2 Relational and logical operators . . . . . . . . . . . . . . . . . . . . . 45 5.2.3 The ``for...end'' loop . . . . . . . . . . . . . . . . . . . . . . . . . 45 5.2.4 The ``while...end'' loop . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.5 Other °ow structures . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.6 Operator precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.3 Saving output to a ¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6 Debugging M-¯les 49 6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2 Debugging process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2.1 Preparing for debugging . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.2 Setting breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.3 Running with breakpoints . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.4 Examining values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2.5 Correcting and ending debugging . . . . . . . . . . . . . . . . . . . . 51 6.2.6 Ending debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2.7 Correcting an M-¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Platform: | Size: 258288 | Author: taffy320 | Hits:

[matlab数字图像处理Matlab编程

Description: 本程序是对一幅图像进行变灰度、旋转、锐化、在图像上画圆或椭圆、直线等操作的程序。 说明:要实现相应功能的操作,需要在输入框内输入正确的表达式。举例如下: 画直线:x1=20,y1=15,x2=150,y2=100 画圆:x=100,y=100,r=20 画椭圆:x=100,y=100,r=20,a=16,b=9 旋转:x=30(度数),ax=100,ay=90 锐化:x=80-this procedure is a gray image change, rotation, sharpening the image on the Circle or ellipse, straight line operational procedures. Note : To realize the corresponding function, the operation needs input box to input the correct expression. For example : painting line : 20 = x1, y1 = 15, = 150 x2, y2 = 100 Circle : x = 100, y = 100, r = 20 paintings elliptical : x = 100, y = 100, r = 20, a = 16, b = 9 rotation : x = 30 (degree), the ax = 100, ay = 90 Sharpening : x = 80
Platform: | Size: 7168 | Author: 代丛军 | Hits:

[Speech/Voice recognition/combine接收机的MATLAB仿真程序

Description: Title: MMSE Receiver for DS-SS in AWGN Channel Author: Panson Tantikovit Summary: An adaptive receiver for DS-SS systems MATLAB Release: R12.1 Required Products: Communications Toolbox,Signal Processing Blockset Description: This is an adaptive receiver for a direct-sequence spread spectrum (DS-SS) system over an AWGN channel. The adaptive receiver block is modified from the LMS adaptive filter block in DSP Blockset. For DS-SS signal reception, the adaptive filter needs to have multi-rate operation. The input sample rate is equal to chip rate and the output is at symbol rate. Two rates are related by PG, processing gain. -Title: MMSE Receiver for DS-SS in AWGN Channel Author: Panson Tantikovit Summary: An adaptive receiver for DS-SS systems MATLAB Release: R12.1 Required Products: Communications Toolbox,Signal Processing Blockset Description: This is an adaptive receiver for a direct-sequence spread spectrum (DS-SS) system over an AWGN channel. The adaptive receiver block is modified from the LMS adaptive filter block in DSP Blockset. For DS-SS signal reception, the adaptive filter needs to have multi-rate operation. The input sample rate is equal to chip rate and the output is at symbol rate. Two rates are related by PG, processing gain.
Platform: | Size: 19456 | Author: zzp | Hits:

[Othermatlab模糊工具箱应用

Description: 利用matlab模糊工具箱建立了一个三输入两输出的模型用以识别车辆加速意图及行驶坡度。在命令行中输入fuzzy idi即可运行-using Matlab Toolbox Fuzzy established a three input output of the two models used to identify the vehicle accelerated Italy Figure moving slope. The command line input fuzzy idi can run
Platform: | Size: 1024 | Author: 王玉海 | Hits:

[matlabmatlab-signal

Description: 用c语言实现下列的数字信号处理算法 1.离散傅里叶级数合成连续周期信号 2.DIF FFT 测试程序 3.将输入数据的幅度画出图形 4.使用FFT实现快速卷积 5.使用FFT实现快速相关 6.取样混迭演示程序 -language used to achieve the following digital signal processing algorithms 1. Discrete Fourier series synthetic signal two consecutive cycles. DIF FFT three test procedures. The input data rate of 4 paint graphics. Use FFT fast convolution 5. Use FFT fast correlation 6. Aliasing sampling Demonstration Program
Platform: | Size: 19456 | Author: 胡叶 | Hits:

[AI-NN-PRthererbfmatlab[matlab]

Description: 3个径向基网络的matlab源程序[matlab],一维输入,一维输出,逼近效果很好!-three RBF network Matlab source [Matlab], one-dimensional input and one-dimensional output. Approximation good effect!
Platform: | Size: 2048 | Author: 李笑 | Hits:

[Speech/Voice recognition/combineMatlab-interface-to-SVM-light

Description: SVM-light与matlab的接口,matlab下就能直接调用哟,很有价值哟-SVM-light and Matlab interface directly with Matlab can call yo, value yo
Platform: | Size: 23552 | Author: zsq | Hits:

[matlabM_serial(MATLAB)

Description: 支持4到16bit 的m序列的MATLAB源码。输入寄存器长度M_Len,输出2.^M_Len-1长度的寄存器状态值向量-4 to 16bit support of the MATLAB m sequence source. M_Len input register length, the output 2. ^ M_Len-1 length of the state vector register
Platform: | Size: 1024 | Author: gaozhibin | Hits:

[OS programmatlab-bianshi

Description: 系统辩识在matlab里的应用:输入信号的产生,多种最小二乘的辨识-system identification in the application of Matlab Lane : input signal the emergence of a variety of literacy least squares
Platform: | Size: 3072 | Author: 泥巴伟 | Hits:

[matlabfuzzy-control-on-matlab

Description: 该源码是关于模糊控制算法的MATLAB实现的,内容包括被控系统模糊建模,输入变量转换到论域,模糊规则库的建立等。-the source of fuzzy control algorithm in MATLAB, including Fuzzy charged modeling, conversion of input variables domain, the fuzzy rules for the establishment of such.
Platform: | Size: 1024 | Author: 杨利伟 | Hits:

[assembly languagematlab

Description: 用impz()函数求冲激响应:用filter()函数求冲激响应 用filter()函数求余弦输入响应:用conv()函数求余弦响应:-With impz () Function Impulse Response: The filter () function used for impulse response filter () Function Cosine input response: The conv () Function Cosine response:
Platform: | Size: 1024 | Author: 李子 | Hits:

[Communication-MobileMATLAB-FSK

Description: 用MATLAB产生FSK调制信号 1.实验要求: (1)随机产生一个包含十个元素的数组,该数组中的元素非0即1,用作FSK信号的输入数据。 (2)对该数组中的二进制数进行FSK调制,0调制在5000Hz上,1调制在8000Hz上,码元速率为200码元/秒。 (3)画出所产生的FSK信号的时域图形和频域图形。 -Using MATLAB generated FSK modulation signal 1. Experimental requirements: (1) a randomly generated array contains 10 elements, the array of elements of non-0 or 1 for FSK signals in the input data. (2) of the array of binary for FSK modulation, 0 modulation in the 5000Hz, 8000Hz Modulation in one, the symbol rate of 200 yards million/sec. (3) draw FSK signal generated by the time domain and frequency domain graphics graphics.
Platform: | Size: 1024 | Author: 杨青禾 | Hits:

[matlabGray_Model(MATLAB)

Description: 一种简单的灰色预测实现的方法,data为需要输入的一维数组,N为需要预测的值的个数-Gm(1,1) matlab code ,input array data,input number N return array with N prediction value.
Platform: | Size: 1024 | Author: 林瑞蓝 | Hits:

[matlabMATLAB

Description:  产生长度为1000的标准正太分布的随机信号,画出时域波形及频谱;  采用u=255的非均匀PCM编码,每符号为8bit,画输入-输出关系图;  计算信号量化噪声比(SQNR);  信道误码率为10-3;  解码,并画出u律反变换后的信号时域波形及频谱。 扩展要求:  采用均匀PCM、量化级数可变、信道误码率可变。 - have a standard length of 1000 is too random signal distribution, draw time-domain waveform and frequency spectrum  u = 255 using the non-uniform PCM encoding, each symbol for 8bit, drawing input- output relationship diagram  calculated quantization noise signal than (SQNR)  channel bit error rate of 10-3  decoder, and law to draw u the signal after the inverse transform time-domain waveform and frequency spectrum. Expansion of the requirements:  uniform PCM, quantization level variable, a variable channel bit error rate.
Platform: | Size: 2048 | Author: louzhu | Hits:

[AI-NN-PRfuzzy-neural-network-matlab-implementation.

Description: 输入为-两输入,输出为-单输出的模糊神经网络matlab实现。-Input- two input, output- single-output fuzzy neural network matlab implementation.
Platform: | Size: 1024 | Author: fanxingdiandian | Hits:

[Special EffectsFullSearchForAVI

Description: 程序以AVI文件为输入,输出运动补偿帧到另外一个AVI视频文件中。-Procedures to AVI file as input and output motion-compensated frame to another one AVI video file.
Platform: | Size: 2048 | Author: 李亓 | Hits:

[OtherMATLAB

Description: 实现音频信号的输入和对其进行时域与频域的分析-To achieve the audio signal input and its time domain and frequency domain analysis of
Platform: | Size: 1024 | Author: ly | Hits:

[Documentsinput

Description: matlab 输入输出等基本函数使用指南 适合初学者-matlab basic functions such as input and output using the guidance is tailored to beginners. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Platform: | Size: 4635648 | Author: 刘菊 | Hits:

[OtherMATLAB

Description: code matlab Expand With the help of a Matlab graphical user interface through which the user can compress data sets using the codec RLE. The graphical interface supports the following functions: Input data sequence using appropriate control. What effect on the screen. It should appear as separate tables of data value and length and the final dialog provides encrypted (
Platform: | Size: 1024 | Author: george | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net