Matlab Essay

361 words - 2 pages

Image RotationI used the size() function to determine the size of the input file's picture's matrix, and then used the inverse transformation matrix shown below to determine the source pixel for each destination pixel. My program determined whether the source pixel was within the 320 x 200 dimensions, and if so, painted the destination pixel into the output file and if ...view middle of the document...

Similarly, the program determined whether the source pixel of the picture was within the 320 x 200 frame using the inverse shearing transformation matrix shown below. Again, if so, it painted the destination pixel into the output file and if not, left the value as 0, i.e. black.Edge DetectionInstead of using loops for this program, detect.m uses matrices to detect the horizontal and vertical edges for all the pixels at one go. My program then added them up using the given formulas shown below to produce the final output.The resulting image is 1 pixel less in height and width than the original due to the fact that Outhorizontal and Outvertical needed the input of the current pixel and the adjacent pixel on the right, and the rightmost pixel was excluded.Image BlurringBy averaging the pixel values with the 8 surrounding pixels, a blurring effect was achieved. Using the blurring formula shown below, blur.m processes all the pixels and creates a matrix "sum" which is a 'shifted' version of the original image.

Other Essays Like Matlab

Frequency Domain Anaalysis Essay

690 words - 3 pages procedure can be simplified with the help of a tool in MATLAB known as ‘fft’. it corresponds to Fast Fourier Transform. This command converts the (ground acceleration vs time) i.e.,[input] to (real no. vs frequency) + (complex no. vs frequency). After the above operation we can obtain the plots of (phase angle vs frequency) & (magnitude of ‘fft’ vs frequency). Now in order to get the desired output (preferably displacement), we have to multiply a

Unit 1 Assignment 1

739 words - 3 pages Language" they used for proving theorems was more generally useful as a programming language. 1980s C++: Bjarne Stroustrup was the inventor. 1979 Motivation: He needed the use of a programming language that was concise and that produced compact and speedy programs. MATLAB: First Fortran MATLAB was portable and could be compiled to run on many of the computers that were available in the late 1970s and early 1980s. Cleve Moler is the inventor

ECET 345 week 6 homework

1000 words - 4 pages input of the type x[n]=e^(-0.4n) "for n"≥0 . Find the response of the system in n domain using MATLAB for obtaining the partial fraction expansion and then manually inverting the output using z-transform tables. X(z)= 1/((1-0.6703z^(-1)))=z/(z-0.6703) Y(z)= H(z)X(z)=(z/(z-0.6703))(Z/((z^2-0.8z+ 0.15) )) Y(z)= Z^2/((z-0.67)(z-0.5)(z-0.3)) -7.909577707646188*^(-6) 10.^(3.- 2.n) (7437.2.^n 5.^(2.n) - 1139.5.^(1.+ n) 6.^n - 3000.67

Particle Filter

858 words - 4 pages will be selected many times and dominate the field. Therefore in this algorithm, we set the weight back to uniform after the resampling. 3 3 3.1 Simulated data Data generation Yn = X n + ν n Nn = Xn−1 + n We use Matlab to generate 1000 observed data following the model: where νi and i are i.i.d N (0, 1). The plot of y is as follows: We can see that the mean of Y is 0, so it always fluctuates up and down. 3.2

Data Management

843 words - 4 pages preservation and long-term access, data collection will be accompanied with proper documentation and associated metadata. Files will include the data itself saved as Matlab (.mat) files, documentation files which a description of how the data was collected, and metadata in the form of the Matlab routines (Psychophysics toolbox) that administer each behavioral task. Data Access, Sharing and Archiving The researchers associated with this study

Daily Report

1886 words - 8 pages ; installing matlab Earlier masks created didn't work because they were being converted into rgb (from grayscale) when they were cropped. So, changed them back to format 'L' using terminal. Creating own models/masks; running them on image Friday - discussion on Taskar's paper Developed chordiogram for circle, equilateral triangle and isoceles triangles (over the weekend) Discussion with David and Caiming - Normalised cut Fourth week(May 30

Comparison of Reactors for Prediction of Kinetics for a Reaction

3231 words - 13 pages Comparison of reactors for prediction of kinetics for a reaction Abstract In this report, a Matlab model for simulating simultaneous oxidation of carbon monoxide and propylene in a fixed bed reactor. The model takes into account temperature variation and pressure drop down the reactor. The catalyst pellets are assumed to be isothermal; only the concentration variation is considered inside the pellet. Both external and internal diffusion is

Compuer Base

5150 words - 21 pages office 2007, 2010 | 20 | Auto CAD 2009 | 20 | Windows server 2008 | 1 | MATLAB 2010 | 20 | Microsm psice | 20 | Multi sim 9 | 20 | AVG 10 anti-virus | 20 | Internet explorer 9 | 20 | Mozilla Firefox 4.0 | 20 | FACULTY OF ACCOUNTING AND FINANCE / BUSINESS The table below shows the hardware requirements for implementing Hi Tech IT Park in faculty of accounting and finance / business Hardware Description | Make / Model


1568 words - 7 pages Reference in numerical order Provide visualizations of the model/results Make sure the text is legible (not 3pt, a common problem with MATLAB plots). • Make figures that work in grayscale whenever possible Discussion/Conclusions • What can you say about the work that you couldn’t before? What are the broader implications of the work? • Don’t just repeat the introduction/abstract • If you cannot think of anything to say, just skip it (or

ECET 345 Wk 4 iLab

1588 words - 7 pages qualitatively observe the effect of an antialiasing filter, even though we do not do so in this exercise. Equipment list: Tower system with ADCDAC board Function generator capable of producing any desired frequency sinusoid up to 5 KHz Oscilloscope Three BNC to alligator One PC running CodeWarrior 5.9 MATLAB 2.0 mm flat head screwdriver Software Needed: Available in Doc Sharing. Theory Nyquistâ

International Business

2005 words - 9 pages of the season'. While PepsiCo's biggest ad in 2003 featuredAmitabh Bachchan (a very powerful celebrity) and Sachin Tendulkar's (a popular cricket star) flying kites. Coca-Cola's most popular commercial for Summer 2002 was Aamir Khan's (a film star) `thanda matlab Coca-Cola' act in a pedestrian Mumbai restaurant. The first ad execution, called “Bombay Dreams” with A.R. Rahman (a famous music director), was so successful among the young target

Related Papers

Matlab Roll Angle Equation Essay

1018 words - 5 pages MATLAB ROLL EQUATIONS VERIFICATION 1. Tangential Component of Gravitational Vector Equation gt = (((Vg*g)/((Vgab)^2)) * Vg); MATLAB coding: clear clc close all syms gt Vgab VN VE VD g Vg go Vg = [VN VE VD]; Vmag = sqrt(VN^2+VE^2+VD^2) g = [0;0;go]; C = Vg*g; U = [VN VE VD]* [0; 0; VD*go] Vmag1 = Vmag^2 gt = ((U)/(Vmag1)); Results MATLAB: gt = (VD^2*go)/(VD^2 + VE^2 + VN^2) 2. Normal Component of Gravitacional Vector

Photovoltaic Cell Essay

2541 words - 11 pages Abstract-This paper focuses on a Matlab/SIMULINK model of a photovoltaic cell. This model is based on mathematical equations and is described through an equivalent circuit including a photocurrent source, a diode, a series resistor and a shunt resistor. The developed model allows the prediction of PV cell behaviour under different physical and environmental parameters. The model can also be used to extract the physical parameters for a given

Uhf Satellite Tool Essay

3455 words - 14 pages efficiency of the spectrum use. This paper presents a UHF SATCOM frequency reuse planning tool developed for the operational needs. The design concept of the Tool is explained in consideration of the technical analyses needs and usability of the software for the UHF SATCOM operation. The multi-tier architecture of the software application is described. The analytical functions are programmed using MATLAB for ease of the software development

Pulse Transformer Essay

1046 words - 5 pages ¼°è®¡ç§¯åˆ†å€¼ï¼› (3)进行重复试验,通过计算样本均值以评价估计的无偏性;通过计算均方误差(针对第1类题)或样本方差(针对第2类题)以评价估计结果的精度。 目的:(1)能通过 MATLAB 或其他数学软件了解随机变量的概率密度、分布函数及其期望、方差、协方差等; (2) 熟练使用 MATLAB 对样本进行基本统计,从而获取数据的基本信æ