Software Listing: Array

Two simple functions to convert a Matlab array in a set of instructions for LaTeX or C. The functions generate a string that can be printed in the Matlab command window and the copied and pasted into your code..

  • Platform: Matlab, Scripts

zeroPadding2N makes zero padding of a given array to a 2^N length. X_ = zeroPadding2N(X), for array X, returns the array with the necessary appended zeros so it reaches the next power of 2 length. X_ = zeroPadding2N(X, N), for array X, returns the array with the necessary appended zeros so it reaches the next 2^N length. Example: If X = [1 2 3]; then X_ = zeroPadding2N(X) returns X_ = [1 2 3 0] X_ = zeroPadding2N(X, 3) returns X_ = [1 2 3 0 0 0 0 0] X_ = zeroPadding2N(X, 1) returns X_ = [1 2 3].

  • Platform: Matlab, Scripts

XLSCOLSTR2NUM takes in a cellular array of characters and returns a array of numbers of the same size with elements corresponding to Excel column numbers. See Also XLSCOLNUM2STR.

  • Publisher: Matt G
  • Date: 22-04-2013
  • Size: 10 KB
  • Platform: Matlab, Scripts

This program creates Routh-Hurwitz array from coefficients of the characteristic equation and check if the system is stable or not. ======Example 6.2. Page 363, Dorf, 11th edition ====== Checking the stability of q(s)=s^3 +s^2 + 2s +24 run the program and input [1 1 2 24].

  • Platform: Matlab, Scripts

Converts TSD5/6/7k and DPO7k/70k .wfm file to ASCII format with time array data_start and data_stop input arguments are optional and can be used to read parts of file.

  • Platform: Matlab, Scripts

Interleaves the color pages of an MxNx3 color image array into presumably what was the original, 2Mx2N, intensity output of a Bayer image sensor. Useful for capturing a monochromatic image (like actively illuminated IR) with a color sensor (like a cheap color webcam). It does not compensate for effects due to demosaic or any image processing done between the image sensor array and this function..

  • Platform: Matlab, Scripts

This is a demo program of color filter array (CFA) image color reproduction. J. Tian, W. Yu and L. Ma, "Color filter array color reproduction using cycle-spinning," International Journal of Electronics and Communications, Vol. 64, No. 6, pp. 584-587, Jun. 2010..

  • Publisher: Kanchi
  • Date: 26-03-2013
  • Size: 1116 KB
  • Platform: Matlab, Scripts

The script solves the problem of assigning a variable name that changes with each iteration, while saving the result using a for loop. It uses a multidimensional array as input and produces matrices as outputs (ASCII)..

  • Platform: Matlab, Scripts

LABEL is a generalization of BWLABEL: BWLABEL works with 2-D binary images only, whereas LABEL works with 2-D arrays of any class. L = LABEL(I,N) returns a matrix L, of the same size as I, containing labels for the connected components in I. Two adjacent components (pixels), of respective indexes IDX1 and IDX2, are connected if I(IDX1) and I(IDX2) are equal. N can have a value of either 4 or 8, where 4 specifies 4-connected objects and 8 specifies 8-connected objects; if the argument is omitted, it defaults to 8. Important remark: ----------------------- NaN values are ignored and considered as background.

  • Platform: Matlab, Scripts

Rank-Revealing QR factorization of an array. The mex-functions are using the rank-revealing QR routines xGEQPX and xGEQPY from ACM Algorithm 782. Can also handle complex and single precision array's..

  • Platform: Matlab, Scripts

Find the index or subscripts of the nearest value in an array to a test value. A bias argument can be included to only return values greater or less than the search value..

  • Platform: Matlab, Scripts

This Example will help you in getting the basics of programmatic as well As the various commands used in matlab, Use of Loops, Use of Conditional statements Etc... Here is the surprise, Matlab has an inbuilt function called 'sort' for sorting any array..

  • Platform: Matlab, Scripts

DATAHASH - Checksum for Matlab array, struct, cell or file Hash = DataHash(Data, Opt) Data: Array of built-in types (U)INT8/16/32/64, SINGLE, DOUBLE (real or complex) CHAR, LOGICAL, CELL, STRUCT (scalar or array, nested), function_handle. Opt: Options struct: Opt.Method: 'SHA-1', 'SHA-256', 'SHA-384', 'SHA-512', 'MD2', 'MD5'. Opt.Format: 'hex', 'HEX', 'double', 'uint8', 'base64'. Opt.Input: 'file': Data is a file name. 'bin': Only the contents of Data is considered. Data must be numerical of a CHAR. 'array': Default, contents and type of Data are considered. Nested CELLs and STRUCTs possible.

  • Publisher: Jan Simon
  • Date: 10-05-2013
  • Size: 10 KB
  • Platform: Matlab, Scripts

This function enables you to directly write data from a cell array into a text file, which functions like FWRITE and FPRINTF do not. Usage: fwritecell(filename, format, data) writes cell array "data" to the file with name "filename" using the C language conversion specifications in argument "format". The conversion specifications are the same as those used by SPRINTF. fwritecell(filename, data) writes cell array "data" using a fixed width format padded with whitespace. The field widths are determined automatically. Note that the decimal point for floating point numbers may not be aligned within columns.

  • Platform: Matlab, Scripts

USAGE ===== This function enables a 3D array to be displayed using a patch surface mesh. To plot a 3D logical array, the function is called using the following syntax: >> hpat = PATCH_3Darray(gridINPUT,gridX,gridY,gridZ); Alternatively, a 3D numeric array can be plotted such that the colour of each facet corresponds to the value of each voxel in the array. The plot is generated using either of the following commands. (Note that voxels which are not to be displayed should contain a value of NaN.) >> hpat = PATCH_3Darray(gridINPUT,gridX,gridY,gridZ,'col'); >> hpat = PATCH_3Darray(gridINPUT,gridX,gridY,gridZ,'sym'); The colormap to be used for the display of a 3D numeric array can also be defined as follows: >> cmap = jet(16); >> hpat = PATCH_3Darray(gridINPUT,gridX,gridY,gridZ,'sym',cmap); INPUT PARAMETERS...

  • Publisher: Adam A
  • Date: 10-04-2013
  • Size: 92 KB
  • Platform: Matlab, Scripts

Simulation of wire antenna array using MBF and ASM.

  • Publisher: Belen
  • Date: 22-02-2013
  • Size: 328 KB
  • Platform: Matlab, Scripts

[M L] = routh_hurwitz(P,N) This function gives the Routh's array from a numerical or SYMBOLIC polynomial and includes two special cases: (1) the first element of the row is zero; (b) a row of zeros. P Numerical or symbolic array of coeficients. In the case of symbolic variables it is necesarry to define them as: >> syms a b c ... N Digits to be considered zero a number. E.g, for N=5, 10^(-5) is considered a zero. By default, N=10 M Routh's array without any simplification (e.g., with epsilon notation) L Simplified first column of Routh's array with simplification (e.g., using the limit when epsilon tends to zero) that determines the number of roots in the right-half of the s-plane: the number of changes of signs in L Examples: 1.

  • Platform: Matlab, Scripts

[M, L] = jury(P,N) This function gives the Jury's array from a numerical or SYMBOLIC polynomial and includes the two special cases: (1) the first element of the second row of a block is zero; (b) a row of zeros (when there are roots on unit circle or reciprocal roots like (r,1/r). The symbolic results can be used to solve inequalities and obtain the stability intervals of symbolic vaiables. P Numerical or symbolic array of coeficients. In the case of symbolic variables it is necesarry to define them in workspace as: >> syms a b c ... N Digits to be considered zero a number. E.g, for N=5, 10^(-5) is considered a zero.

  • Platform: Matlab, Scripts

In a series of chronic recording from an array that is physically stable, this algorithm will tell you when you have recorded the same neuron multiple times..

  • Platform: Matlab, Scripts

Create a new type called STR with a character array inside, implemented as a structure. It was inspired in Visual Basic syntax. It was implemented several operators and functions overloads, but allows any character array function using "char" conversor function or ' transpose overload. It's necessary to create a folder from a MatLab folder in one of the MatLab paths. The folder name is class name, with @ prefix. The .m name is class name. Operator Overload: ==,~=,=,>,< -,*,/,,', [], +,-, (), | Function Overload: disp, length, upper, lower, strfind Other Functions: str, left, right, mid, padl,padr, padc, instr, repeat, replace, trim, ltrim, rtrim Example ======= s1=str('play'); s1-'l'+ ' t' + 'cricket' - 'cr' ans= pay ticket More details in the start of str.

  • Platform: Matlab, Scripts

Page: 1 | 2 | 3 | 4 | 5 | Freeware

New Reviews


Funny Photo Maker

It happens a lot of times that you capture a photograph, it is good enough but you still want to play with it and improve it. There are lots of programs available for photo editing and some might say that you should use Adobe’s Photoshop. Yes, ...


Screencatch

There are numerous occasions when you need to take screenshot of anything on your computer. A screenshot is used for serving many purposes like tutoring, in eBooks, as electronic proofs etc.Taking screenshots is a relatively tedious task without ...


Screen Resolution Manager

If you share a computer at home or at work, some users may their own have personal preferences regarding the screen resolution that your monitor or projector is set up, and the colors that are displayed. This could be because of bad eye sight, ...


Alex Gordon Game

Alex Gordon game (or simply Alex Gordon) is a free ware game which appears platformer game, which is supposedly in the same vein as games such as sonic or Mario. What the game actually turns out to be, is an adventure game (with a  few elements ...


Ultrasurf

There are many cases where you need to access a website which is otherwise blocked by your ISP. You need to use a proxy but a using free proxy that is never easy and convincing. Also, whenever you want to hide your identity online, you need to use ...


FinalFortress

Final fortress is a free downloadable demo for the full game final fortress. Final fortress is  fixed location shooter mixed with RPG elements, which isn't a completely unique concept, but is done in a fairly unique way, with your large ...


End Of Room

End of room is a free ware platformer game with a black and white retro feel to it, like the game shift, except where shift innovated on the concept of a puzzle platformer, end of room does the exact opposite. Firstly though, the premise. In end of ...


Jewel Quest 3 Game

Jewel quest (3) is a free ware downloadable game from Free Ride games, a game development studio with a fair number of high quality games on this website. Jewel quest isn't an exception to this rule. Jewel quest is essentially a clone of the ...


MarkdownPad

It is not really difficult to create basic webpages, having said that, if you don’t know about HTML, it can be a tedious task. HTML stands for Hypertext Markup Language which basically is used to create webpages. It is not a difficult language ...



New Downloads

Advanced SystemCare

Advanced SystemCare 11 is an
all-in-one yet easy-to-use PC
optimization software to
clean, optimize, speed up, and
...

Radmin VPN

Radmin VPN - is a free and
easy-to-use software product
to create virtual private
network (VPN). The program
allows users ...

TaskRun Time Planner

ToDo Calendar with Pomodoro
Timer and Fitness and Calorie
Tracker. Weekly Calendar
Planner will help you to work
smarter, ...

Excel Add-in for SQL Server

Devart Excel Add-in for SQL
Server allows you to use
powerful Excel capabilities
for processing and analysis of
data from ...

A VIP Project Management
Solution

Project and Document
Management tool for company or
team management. It allows
planning, scheduling, sharing
any ...

SyncBreeze Server

SyncBreeze is a powerful,
easy-to-use and fast file
synchronization server
allowing one to synchronize
directories, disks ...

Nutrigenic Helper

Nutrigenic Helper is a fully
integrated application
designed specifically for
dietitians, nutritionists, ...

Data Cleaner

Excel Data Cleaner is an
essential MS Excel Add-In. You
can clean your tedious data in
excel easily by using its
commands ...

Adguard for Android

web filter, adblocker,
browsing security, phishing
protection, pop-ups and ads
blocking app



Related Searches

Array C Declare
Array J Declare
Array Asp
Basic Vis Array
Array Detecting
Bmp C Array
Video Graphics Array Compressor
Video Graphics Array
One Dimensional Array
Led Array
Led Array Source Code
Bit Array