Generation Y Defined
This presentation introduces comparing between the hand coding and auto code generation with Simulink HDL.It uses simple communications models to mention merit/demerit.Additionally,The frame synchronization explained by the book was designed with Stateflow.The figure which is in the book and...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Compare with hand coding and auto code generation of HDL Download |
An essential step in embedded software development, floating- to fixed-point conversion can be tedious, labor-intensive, and error-prone. System engineers frequently design algorithms in floating-point math, usually double-precision. This format represents the ideal algorithm behavior but takes...
Platforms: Matlab
License: Freeware | Size: 491.52 KB | Download (48): Converting Models from Floating Point to Fixed Point for Production Code Generation Download |
Generation Of Solid Shapes Using Random Number Generator.The Solid Shapes included are:1) Cuboid/Cube2) Sphere3) Cone4) Conical Frustum5) Pyramid6) Pyramidal Frustum7) CylinderTake it as an exercise in understanding how to create constraints to rand() function, in order to get desired results.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Generation Of Solid Shapes Using Random Number Generator Download |
Script que soluciona ecuaciones diferenciales y de diferencias.ECUACIONES DIFERENCIALES EN FORMA SIMBdoOCtLICA y(t)con x(t) igual a las siguientes entradas; funcidoDln impulso(d(t)-delta de dirac), funcidoDln paso u(t), y funcidoDln rampa t*u(t) mediante el uso de la Transformada de...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Ecuaciones Diferenciales y de Diferencias Download |
When interpolating a multivalued function (more than one y for each x), interp1 produces, at best, an error (if there are identical x data), and at worst, garbage (see the attached image). This function performs meaningful interpolation of a multivalued function, when the inverse (x = g(y)) is a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Multivalued function interpolation Download |
This program checks whether a point (x,y) lies inside,outside or on a circle defined by 3 other points.Syntax: iscircle(X,Y,x,y), where X=[x1 x2 x3] and Y=[y1 y2 y3]. Thus, a circle can be made out of these 3 points-->(x1,y1), x2,y2)&(x3,y3).Program checks whether point (x,y) lies inside,outside...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Check Whether a Point Lies Inside,Outside or On a Circle Download |
scatterquad2(X,Y,Z) finds the volume under the surface defined by the points (X(i),Y(i),Z(i)) with linear interpolation on the Delaunay triangulation of (X,Y) and Z=0 outside the convex hull of (X,Y).Example:load seamountscatterquad2(x,y,z-min(z)) % returns 190.7996inR = (x>=211.1 & x=-48.35 & y
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): scatterquad2 Download |
MCG is a tool for doing in-place code generation. MCG is intended to provide the maximum traceability of generated code back to the Matlab code generator. MCG processes a source file looking for sections of specially tagged code. The tags that denote generation sections exist in comment...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): MCG - A Matlab Code Generation Engine Download |
parseSize - a function to aid OOP overloading of the size() method in user-defined classes. If the user provides the vector of dimensions of a hypothetical array object, parseSize will take care of the main input/output argument processing in a way that imitates the conventions of MATLAB's usual...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Overloading SIZE for Array-like User-Defined Objects Download |
Converts a regular mesh defined by X,Y and Z into a regular triangulation. The output is patch data (triangles) in the faces d-deDUFd-deDt and vertices d-deDUVd-deDt format. The quadrilateral mesh faces are converted to triangles by splitting the faces into triangles according to the setting...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): mesh2tri Download |
P-x-y diagram using RK for Methane+ butane mixture
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): P-x-y diagram using RK for Methane+ butane mixture Download |
Y = DOWNSIDECOVARIANCE(Y) returns the downside covariance for columns of variable Y.Y = DOWNSIDECOVARIANCE(Y, m) returns the downside covariance using vector m as expected value for columns of variable Y.==================================================Downside covariance is defined as E[min(yi...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Downside covariance Download |
Y = UPSIDECOVARIANCE(Y) returns the upside covariance for columns ofvariable Y.Y = UPSIDECOVARIANCE(Y, m) returns the upside covariance using vector mas expected value for columns of variable Y.====================================================Upside covariance is defined as E[max(yi - mi, 0)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Upside covariance Download |
Objective: Identify Sequential Transformations from figures "X" to "Y".Note: The only applicable Transformations are: 1.Translation, 2.Rotation, 3.Reflection and 4.Dilation. The ONLY possible options defined for each of above mentioned Transformations is given, acting as clues for user to find...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 92.16 KB | Download (43): Transformations for matlab (Sripts) Download |
wind power generation based on Permanent Magnet Synchronous Generator2-mass model based wind turbine is used in this system for providing mechanical torque/input to Permanent Magnet Synchronous Generator. 3-phase power generated from this system, changing wind velocity is also presented in this...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): PMSG based Wind Power Generation System Download |
This function generates mesh plot with 3Dbars at specific (x,y) points by using fill3 function.This function uses MATLAB's fill3.m meant to generate Filled 3-D polygons.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (50): Generating surface plot with bars at specific (x,y) points Download |
Filtering of non-stationary periodic components from signals using a multi-order Vold-Kalman Filter.The Vold-Kalman Filter, introduced by HdoDEvard Vold and Jan Leuridan in 1993, is able to extract non-stationary periodic components from a signal using a known frequency vector [1]. Being...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Second generation Vold-Kalman Order Filtering Download |
This code uses Bresenham line generation algorithm to generate a line, with modified expression for error calculation which does not involves any division or calculation of slope of line. This parameter is however modified by same mechanism as original algorithm but with different value than...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Bresenham line generation Download |
function histmat = hist2(x, y, xedges, yedges) Extract 2D histogram data containing the number of events of [x , y] pairs that fall in each bin of the grid defined by xedges and yedges. The edges are vectors with monotonically non-decreasing values.The code is optimized no loop inside, it can be...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): 2D Histogram Calculation Download |
Calculate the 2D histogram of data pairs [x,y] on a 2D grid defined by its edges. Allows 'fast' and 'exact' binning modes. Adjustable input grid mode. Output of mesh centers for easy plot.EXAMPLE:binEdges_minmaxN_xy = [10 100 91; 0 10 21];[h2d, binC_x, binC_y] = hist2(data2d, binEdges_minmaxN_xy,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): 2D histogram - 'exact' and 'fast' binning, 'crop' and 'stretch' grid adjustment Download |