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

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:

[matlabjacobi算法

Description: 实现雅可比叠代算法 在matlab中 输入矩阵A,b, 初值x 调用该函数 得到结果-achieve Jacobi iterative algorithm in Matlab input matrix A, b, x initial function to be called the results
Platform: | Size: 1024 | 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:

[matlabkeyboard_input_v1.02

Description: matlab键盘输入模型程序,用simulink制作。在7.0以上版本直接运行 运行过程中按一下键盘就会看到示波器上出现一个脉冲信号。-Matlab keyboarding model procedures used Simulink production. In version 7.0 to run over the course of operation under the keyboard will see what appeared on an oscilloscope pulse signal.
Platform: | Size: 121856 | Author: 黄国钧 | Hits:

[matlabmatlab--input

Description: 这是关于数字水印的嵌入例程!经过调试,可以放心使用!-This is on the digital watermark embedded routines! After debugging, can be assured use!
Platform: | Size: 3072 | 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:

[matlabGM(1_1)

Description: GM(1,1)模型1-4 1:GM(1,1)模拟模型,在matlab中的输入方法为gm1(x),x指要模拟的序列。 2:GM(1,1)预测模型,在matlab中的输入方法为gm2(x,K),x指要模拟的序列,K指从以后序列第一个数据算起的第k个待预测数据。 3:GM(1,1)群模拟模型,在matlab中的输入方法为gm3(x),x指要模拟的序列。 4:GM(1,1)群预测模型,在matlab中的输入方法为gm4(x,K),x指要模拟的序列,K指从以后序列第一个数据算起的第k个待预测数据。 gm4对序列趋势比较好的数据预测效果较好,对上下变动的数据,特别是后4个数据趋势跟前面的数据相反的,预测效果很差。 gm2对上下变动的数据,预测效果比gm4好,但对趋势较好的数据,预测精度没有gm4高。 gm3比gm1模拟精度要高。 可以以x=[1 3 5 7 9 11 13 15]进行实验。x输入默认行向量。 所有程序在matlab6.0上调试通过。-GM (1,1) 1-4 1 : GM (1,1) simulation model Matlab in the input method for gm1 (x), x entail simulation sequence. 2 : GM (1,1) model, in the Matlab input method for gm2 (x, K), x entail simulated sequence, from the K refers to the first series after a run of data k pending forecast data. 3 : GM (1,1)- simulation model, in the Matlab input method for gm3 (x), x entail simulation sequence. 4 : GM (1,1)- forecasting model, in the Matlab input method for gm4 (x, K), x entail simulated sequence, from the K refers to the first series after a run of data k pending forecast data. Gm4 right sequence relatively good trend data predicted better results, the next change in the data, especially after four data with the previous trend data contrary, predict poor. Gm2 next to the change in forecast resu
Platform: | Size: 4096 | Author: wangyi | Hits:

[Program docMATLABQam

Description: MATLAB由于其强大的功能而被广泛应用于很多工程技术领域,尤其在通信和信息处理领域更有其突出地位。众所周知,在物理级的产品作出之前,先用MATLAB进行这种电子产品的输入输出以估计这种产品的性能好坏,从而可以看出什么地方需要从新设计,什么地方需要优化等来进一步提高系统的性能,因此,伴随着现代通信系统与日俱增的复杂性,这种通信系统的仿真分析也变得尤其重要。本文介绍了利用MATLAB进行正交振幅调制与解调的仿真分析,仿真结果验证了该方法的正确性和可行性。-MATLAB because of its powerful features and is widely used in many engineering fields, particularly in the field of communications and information processing more of its prominent position. As we all know, in physics class products made prior to such use MATLAB input and output of electronic products to estimate the performance of this product good or bad, so we can see where the needs of the new design, where the need for optimization to further improve system performance, therefore, accompanied by modern communications systems with ever-increasing complexity, such a communication system simulation analysis has become particularly important. This article describes the use of MATLAB to carry out quadrature amplitude modulation and demodulation of the simulation analysis, simulation results verify the correctness of the method and feasibility.
Platform: | Size: 140288 | Author: sharny | 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:

[matlabprim_kruskal_matlab6.5

Description: prim算法 kruskal算法用matlab实现 输入标准:x邻接矩阵 p节点集 输出:生成树边集 G-prim algorithm Kruskal algorithm matlab input standard: x adjacency matrix p Node Set Output: Spanning Tree margination G
Platform: | Size: 1024 | Author: yumeng | Hits:

[File FormatMatlab-input-output-function

Description: MATLAB 输入输出函数 描述。还有常用函数简介-MATLAB input and output functions described. There are commonly used functions Introduction
Platform: | Size: 5120 | Author: 小贝 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net