tag:la.mathworks.com,2005:/matlabcentral/fileexchange/feed?q=type%3AfunctionMATLAB Central File Exchangeicon.pnglogo.pngMATLAB Central - File Exchange - type:functionUser-contributed code library2020-12-01T12:58:18-05:0013154160727142020-07-07T12:26:20Z2020-07-07T12:26:20ZGaussian Elimination Method with Partial PivotingSolution for systems of linear algebraic equations<p>Solve Ax = b where A is coefficient matrix, and b is right handside vector.</p>Arshad Afzalhttps://www.mathworks.com/matlabcentral/profile/14284297-arshad-afzal744372020-03-09T23:00:47Z2020-03-09T23:00:47ZboxplotGroupGroup boxplots together along the x-axis with space between groups.<p>x = {rand(100,2), rand(20, 2), rand(150,2)}; boxplotGroup(x)The lines above will create two groups of three boxplot boxes per group, with space separating the groups. You can specify the amount of space between groups, the primary labels under each box, and the secondary labels that identify the groups. Group labels can be horizontal, under the x-axis, or vertical, between groups. Other boxplot properties can be passed to Matlab's boxplot function as well. NOTE: If you're working with a grouping variable 'g', use the syntax boxplot(x,g) along with the "Group Appearance" options described in Matlab's boxplot() documentation.<a href="https://www.mathworks.com/help/stats/boxplot.html#d118e146984Also">https://www.mathworks.com/help/stats/boxplot.html#d118e146984Also</a> see Kelly Kearney's boxplot2()<a href="https://www.mathworks.com/matlabcentral/fileexchange/59303-boxplot2">https://www.mathworks.com/matlabcentral/fileexchange/59303-boxplot2</a></p>Adam Danzhttps://www.mathworks.com/matlabcentral/profile/3753776-adam-danz140562020-08-08T10:07:12Z2020-08-08T10:07:12ZArrow3Draws lines with directional arrowheads.<p>ARROW3(P1,P2) draws lines from P1 to P2 with directional arrowheads. P1 and P2 are either nx2 or nx3 matrices. Each row of P1 is an initial point, and each row of P2 is a terminal point.ARROW3(P1,P2,S,W,H,IP,ALPHA,BETA) can be used to specify properties of the line, initial point marker, and arrowhead. Type "help arrow3" at the command prompt for more informationWhat's new in Version 5:All arrowhead and initial point marker sizes (W, H, and IP) are relative to the PlotBox diagonal.Version 5 attempts to preserve the appearance of existing axes. In particular, ARROW3 will not change XYZLim, View, or CameraViewAngle. ARROW3 does not, however, support stretch-to-fill scaling. If a particular aspect ratio or variable limit is required, use DASPECT, PBASPECT, AXIS, or XYZLIM commands before calling ARROW3. Users are encouraged to report problems directly to the author.</p>Tom Davishttps://www.mathworks.com/matlabcentral/profile/1274877-tom-davis714082020-10-18T17:13:17Z2020-10-18T17:13:17Zdfield8Interactive app to study a given first order ODE<p>This is a nice interactive tool to study first order ODEs, which was originally created by John Polking at Rice University (together with other tools such as pplane and odesolve).The original versions (see also here <a href="https://math.rice.edu/~polking/odesoft/solver.html">https://math.rice.edu/~polking/odesoft/solver.html</a> for more information) only work up to MATLAB versions R2014a. A great version of pplane8 which works in any MATLAB version can be found here: <a href="https://www.mathworks.com/matlabcentral/fileexchange/61636-pplaneNote">https://www.mathworks.com/matlabcentral/fileexchange/61636-pplaneNote</a> that at the time of writing there are a couple of versions on file exchange (both called dfield9) from Gerardo Garcia (<a href="https://www.mathworks.com/matlabcentral/fileexchange/64437">https://www.mathworks.com/matlabcentral/fileexchange/64437</a>) and Iourii Kouznetsov (<a href="https://www.mathworks.com/matlabcentral/fileexchange/65886">https://www.mathworks.com/matlabcentral/fileexchange/65886</a>), however the former gives warnings for versions 2015a and later, and errors out for versions 2017b and later. The latter works without errors or warnings, but the text is disproportionally larger and out of place. Both versions have the toolbar on in the setup window and tend to place the display window a little out of reach in the upper right part of the screen sometimes.This version of dfield8 is the closest to the original in look and feel, but it is faster, and it works for any version from R2014b on.</p>Giampiero Campahttps://www.mathworks.com/matlabcentral/profile/1692307-giampiero-campa194602020-01-24T10:40:06Z2020-01-24T10:40:06ZZfitZFIT is a function which can PLOT, SIMULATE and FIT impedance data<p>% Zfit(data)Plots the impedance DATA which has to be a 3-columns wise matrix [FREQ, RealZEXP, ImagZEXP]. Impedance, admittance, capacitance and modulus representations in the complex plane are then pushbutton obtainable.%The others usages are described in the help lines with examples too...</p>Jean-Luc Dellishttps://www.mathworks.com/matlabcentral/profile/869820-jean-luc-dellis542072020-01-20T16:20:23Z2020-01-20T16:20:23Zpolyfix(x,y,n,xfix,yfix,xder,dydx)Fit polynomial p to data, but match exactly at one or more points<p>Sometimes we want to fit a polynomial to some data, but want to force a perfect match to some known values at one or more points. This function returns such a polynomial.</p>Are Mjaavattenhttps://www.mathworks.com/matlabcentral/profile/3934907-are-mjaavatten700322020-08-09T08:58:59Z2020-08-09T08:58:59ZRobust Empirical Mode Decomposition (REMD)A useful adaptive signal processing tool for multi-component signal separation, non-stationary signal processing.<p>The REMD is an improved empirical mode decomposition powered by soft sifting stopping criterion (SSSC). The SSSC is an adaptive sifting stop criterion to stop the sifting process automatically for the EMD. It extracts a set of mono-component signals (called intrinsic mode functions) from a mixed signal. It can be used together with Hilbert transform (or other demodulation techniques) for time-frequency analysis.</p>Liu Zhilianghttps://www.mathworks.com/matlabcentral/profile/12638821-liu-zhiliang704502020-06-04T03:48:13Z2020-06-04T03:48:13Zkmz2structConverts KML or KMZ files to a Matlab structure.<p>This function will convert kml and kmz files to a matlab structure. If converting a kmz file it will extract it to a directory called '.kml2struct' in your home directory. This directory will be deleted when the function exits.The output of this function should be similar to 'shaperead' except that it will add another field, "Folder", for the kml folder where the shape was file.This function will only handle kml/kmz files with Point, LineString, and Polygon geometries. If you try to run this on a kml/kmz with different elements those elements will be omitted from the result</p>Nathan Ellingsonhttps://www.mathworks.com/matlabcentral/profile/13305613-nathan-ellingson732462020-03-13T05:42:17Z2020-03-13T05:42:17ZPrincipal Component Analysis (PCA) on images in MATLAB (GUI)Principal Component Analysis (PCA) on images in MATLAB (GUI)<p>First, upload a colour image by clicking on the “upload an image button”. The acceptable image formats are png, jpg, jpeg, img and tif. Then click on the "Plot the grayscale image". After that enter the no. of PC's up to which you want to retrieve the images (both colour and grayscale).An error message/box will pop-up when you enter a number greater than the no. of PCs for that particular image. Also, an error will message will pop-up when the entered input is not a number.Please go through this link for detail explanation;<a href="https://medium.com/@abhilash.singh/principal-component-analysis-pca-on-images-in-matlab-a-graphical-user-interface-gui-3d4999ddd0d0Enjoy">https://medium.com/@abhilash.singh/principal-component-analysis-pca-on-images-in-matlab-a-graphical-user-interface-gui-3d4999ddd0d0Enjoy</a>!!!</p>ABHILASH SINGHhttps://www.mathworks.com/matlabcentral/profile/5569287-abhilash-singh108672020-06-15T12:39:13Z2020-06-15T12:39:13Zuipickfiles: uigetfile on steroidsMany-featured, platform independent file and directory picker.<p>This is a GUI application that allows multiple files or directories to be selected and allows you to manage the list (remove files, reorder, etc.) before returning. It has basic filtering as well as regular expression filtering and navigation of the file system is easy. The output is configurable (cell, struct or char arrays). It is written entirely in M and so is platform independent.</p>Douglas Schwarzhttps://www.mathworks.com/matlabcentral/profile/20355-douglas-schwarz728142020-04-16T14:40:30Z2020-04-16T14:40:30ZMultivariate Variational Mode Decomposition (MVMD)The function MVMD applies the Multivariate Variational Mode Decomposition (MVMD) algorithm to multivariate or multichannel data.<p>The function MVMD applies the Multivariate Variational Mode Decomposition (MVMD) algorithm [1] to multivariate or multichannel data sets. The method is an alternative to another popular algorithm named Multivariate Empirical Mode Decomposition (MEMD). We have verified this code through simulations involving synthetic and real world data sets containing 2-16 channels. However, there is no reason that it shouldn't work for data with more than 16 channels.% Input and Parameters:% ---------------------signal - input multivariate signal that needs to be decomposedalpha - the parameter that defines the bandwidth of extracted modes (low value of alpha yields higher bandwidth)tau - time-step of the dual ascent ( pick 0 for noise-slack )K - the number of modes to be recoveredDC - true if the first mode is put and kept at DC (0-freq)init - 0 = all omegas start at 0 1 = all omegas start uniformly distributed 2 = all omegas initialized randomlytol - tolerance value for convergence of ADMM% Output:% --------------------- u - the collection of decomposed modes u_hat - spectra of the modes omega - estimated mode center-frequencies[1] N. Rehman, H. Aftab, Multivariate Variational Mode Decomposition, arXiv:1907.04509, 2019. </p>Naveed ur Rehmanhttps://www.mathworks.com/matlabcentral/profile/15035647-naveed-ur-rehman761982020-05-28T04:12:37Z2020-05-28T04:12:37Zgif2aviConverts GIF images to AVI (or MP4) video files.<p>gif2avi(file) converts a gif file to an avi video and saves it to the current directory. gif2avi(file, destination) specifies where the avi file should be saved and its file name. gif2avi(file, '.mp4') converts to mp4 file.gif2avi(file, [ ], 'nLoops', n) records the gif loop n-times.Set the profile (output file type), FrameRate, Colormap, and Quality in VideoWriter by using name-value parameter inputs.aviFile = gif2avi(__) returns the full path to the avi file. [~, vidObj] = gif2avi(__) returns the VideoWriter object.When complete, a message is printed to the command window indicating the location of the output file. Special thanks to Walter Roberson for feedback that improved this submission. </p>Adam Danzhttps://www.mathworks.com/matlabcentral/profile/3753776-adam-danz722472020-09-25T04:16:51Z2020-09-25T04:16:51ZColebrook-White EquationComputes the friction factor in pipes for given values of the Reynolds number (Re) and the relative roughness coefficient (epsilon).<p>MATLAB code to compute the friction factor in pipes for given values of the Reynolds number (Re) and the relative roughness coefficient (epsilon).Syntax: f = colebrook(Re,epsilon)Example 1: Single Re, single epsilon Re = 1e5; epsilon = 1e-4; f = colebrook(Re,epsilon)Example 2: Multiple Re, single epsilon Re = 5000:1000:100000; epsilon = 1e-4; f = colebrook(Re,epsilon); plot(Re,f)Example 3: Single Re, multiple epsilon Re = 1e5; epsilon = linspace(1e-4,1e-1,100); f = colebrook(Re,epsilon); plot(epsilon,f)Example 4: Multiple Re, multiple epsilon Re = logspace(4,8,100); epsilon = linspace(1e-4,1e-1,100); [RE,EPSILON] = meshgrid(Re,epsilon); F = colebrook(RE,EPSILON); surf(RE,EPSILON,F)References: [1] Colebrook, C. F., & White, C. M. (1937). Experiments with fluid friction in roughened pipes. Proceedings of the Royal Society of London. Series A - Mathematical and Physical Sciences, 161(906), 367-381. [2] Colebrook, C. (1939). Turbulent Flow in Pipes, with Particular Reference to the Transition Region between the Smooth and Rough Pipe Laws. Journal of the Institution of Civil Engineers, 11(4), 133-156.</p>Ildeberto de los Santos Ruizhttps://www.mathworks.com/matlabcentral/profile/5153703-ildeberto-de-los-santos-ruiz740102020-05-14T14:06:00Z2020-05-14T14:06:00ZgetContourLineCoordinatesGet a table of contour line coordinates from a contour object.<p>Use the outputs from any of the contour plot functions to produce a table of (x,y) coordinates of the contour lines organized by contour level and group. [cm, h] = contour(___);contourTable = getContourLineCoordinates(cm);--or-- contourTable = getContourLineCoordinates(h);contourTable = Level.........Group..........X............Y ____________________________________ -5.8504.........1..........0.44266....-1.75 -5.8504.........1..........0.375........-1.8038 -5.8504.........1..........0.25..........-1.8526 -5.8504.........1..........0.125........-1.8498 etc....Where Level is the contour level in the LevelList of a contour object, Group is a grouping variable for contour levels, and (X,Y) are coordinates along the contour lines. </p>Adam Danzhttps://www.mathworks.com/matlabcentral/profile/3753776-adam-danz746102020-04-11T14:58:18Z2020-04-11T14:58:18ZSimulitis (A Coronavirus Simulation)MATLAB code to replicate Washington Post's Coronavirus simulation<p>I'm sure by now you've all seen the Washington Post article with the COVID-19 simulation, speaking to the public health benefits of social isolation in the face of a highly infectious disease. If you haven't, here's the article: <a href="https://www.washingtonpost.com/graphics/2020/world/corona-simulator/Well">https://www.washingtonpost.com/graphics/2020/world/corona-simulator/Well</a>, out of my quarantine boredom, I recreated this simulation in MATLAB, with more knobs to turn and parameters to play around with. For example, what if some of the carriers can die? What if the disease is Ebola instead (~50% mortality rate)?This function simulates disease transmission among a set of n carriers, in a confined space, with some proportion of carriers socially isolating themselves. A simple multibody physics model (elastic collision between two equal-mass particles) determines carrier trajectory.Hopefully this gives you a fun (albeit brief) respite from the doldrums of social isolation!</p>Joshua Gaffordhttps://www.mathworks.com/matlabcentral/profile/14092049-joshua-gafford747622020-03-29T18:35:09Z2020-03-29T18:35:09ZSIRModelSimulation% This file simulates SIR model for the spread of infectious diseases<p>% Np = the population of the community. (Default = 100, so you easily % read the percentage of the community infectious/infected)% Ni = the number of index case (initial infecious individual, Default = 1).% Ds = is the minimum safe distance below which the probability of being % infected is Prinf (Measure of how contagious the disease is: % Lower means more contagious. Default = 0.05).% Prinf = probability that you will be infected if you are closer than Ds % to an infectious iindividial (Measure of how precautious people % are: washing hands, not touching mucus membrane. Default = 0.2).% Tr = Time it takes for an individual to be removed from the population % (Death, Quarantined, Recovered and become immuned. Default = 1).% F = Relative repulsive force strength (measure of social distancing Default = 1)% videoname = Simulation video file name</p>Lateef Adewale Kareemhttps://www.mathworks.com/matlabcentral/profile/2376472-lateef-adewale-kareem736702019-12-13T11:49:49Z2019-12-13T11:49:49ZwaitbarParforWaitbar implementation for parfor loops.<p>This package provides a waitbar for use in parfor loops without the need to write to files or any other external synchronization.</p>Girmi Schoutenhttps://www.mathworks.com/matlabcentral/profile/9452059-girmi-schouten754912020-05-12T18:15:59Z2020-05-12T18:15:59ZStress-strain analysisGUI to extract key parameters from the stress strain curve such as elastic modulus and yield strength<p>The stress strain data can be imported from a csv file, or other method. Running the script will allow the user to click on the elastic region. The instructions are printed on the command line. The user should then click on two points in the elastic region. The program will then determine the elastic modulus, yield stress and yield strain. The parameters and curves will then be saved in the specified path.</p>Ben cameronhttps://www.mathworks.com/matlabcentral/profile/5494516-ben-cameron608662020-02-28T03:24:14Z2020-02-28T03:24:14Zpairplot(meas, label, group, colors, mode)plot pairwise relationships in matrix<p>plot pairwise relationships in matrix : similar to 'pairplot' in seaborn (<a href="http://seaborn.pydata.org/generated/seaborn.pairplot.html)easier">http://seaborn.pydata.org/generated/seaborn.pairplot.html)easier</a> than 'plotmatrix'% e.g. % For stat toolbox users load fisheriris.mat colors = lines(3); label = {'sepal-length', 'sepal-width', 'petal-length', 'petal-width'} figure; pairplot(meas, label, species, colors, 'both');% For all users load Fisher.mat % included in zip group= Fisher(:,1); colors = lines(length(unique(group))); figure; pairplot(Fisher(:,2:size(Fisher,2)), {'PW', 'PL', 'SW', 'SL'}, num2cell(num2str(group)), colors, 'bar'), ylabel('Probability') figure; pairplot(meas, label, species, colors, 'both');</p>Ryosuke F Takeuchihttps://www.mathworks.com/matlabcentral/profile/3438634-ryosuke-f-takeuchi738462020-01-06T04:56:47Z2020-01-06T04:56:47ZBasis PursuitBasis Pursuit (BP) Recovery Method for compressive sensing <p>Hi. Here is a Matlab function for Basis Pursuit Recovery Method in compressive Sensing.good luck </p>MohammadReza Jabbarihttps://www.mathworks.com/matlabcentral/profile/14310499-mohammadreza-jabbari742492020-02-12T20:19:47Z2020-02-12T20:19:47ZCRC-16A function to generate CRC-16 (16-bit Cyclic Redundancy Check)<p>A Matlab function to generate CRC-16 (16-bit Cyclic Redundancy Check). Note that CRC-16 has many versions. This is the xModem version. The CRC-CCITT (0xFFFF) version can be obtained by replacing crc = 0 to crc = hex2dec('FFFF')</p>J Chenhttps://www.mathworks.com/matlabcentral/profile/14120848-j-chen698112020-01-23T23:39:54Z2020-01-23T23:39:54ZZfitGUIZfitGUI creates a figure with uimenus devoted to process impedance data<p>The main features are: Graphical. The data can be plotted for each immitance types (Z, Y, C or M), in the complex plane, as well as their real, imaginary parts or their magnitude in function of the frequency (Log/Log scales). Simulation. The possibilities are almost infinite. Over the classical R, C, L electrical elements, one can use CPE (constant Phase Element) and Diffusion Impedances. Fitting. ZfitGUI makes use of the simplex algorithm. To fit only portion of the spectra is user-friendly. Note that there exists the programmatic version of ZfitGUI named "Zfit" which can be found in the Matworks site file exchange.</p>Jean-Luc Dellishttps://www.mathworks.com/matlabcentral/profile/869820-jean-luc-dellis774372020-08-05T18:16:26Z2020-08-05T18:16:26ZExtract linearly independent subset of matrix columnsLoop-free code routine to find a maximal subset of linearly independent columns in a matrix<p>This submission is a very simple code routine that I have used for many years for finding a maximal subset of linearly independent columns of a matrix. It is based on an old conversation with Bruno Luong, which has recently resumed here,<a href="https://www.mathworks.com/matlabcentral/answers/574543-algorithm-to-extract-linearly-dependent-columns-in-a-matrix#answer_474601and">https://www.mathworks.com/matlabcentral/answers/574543-algorithm-to-extract-linearly-dependent-columns-in-a-matrix#answer_474601and</a> where he gives some mathematical explanation behind the method. I post this here for ease of reference, as it seems to be a frequently sought tool by Matlab Community members.USAGE:Extract a linearly independent set of columns of a given matrix X [Xsub,idx]=licols(X)in: X: The given input matrix tol: A rank estimation tolerance. Default=1e-10out: Xsub: The extracted columns of X idx: The indices (into X) of the extracted columnsEXAMPLE:>> A=eye(3); A(:,3)=A(:,2)A = 1 0 0 0 1 1 0 0 0>> [X,idx]=licols(A)X = 1 0 0 1 0 0idx = 1 2</p>Matt Jhttps://www.mathworks.com/matlabcentral/profile/1440443-matt-j737512019-12-21T20:02:28Z2019-12-21T20:02:28ZStructural Dynamics: Total response of a damped systemDynamic Analysis: Total response of a damped system<p>This function determines total response of a damped systemInput: Mass, Damping coefficient, Stiffness, Excitation force Output: The file calculates the total response of a damped system including the followings: -Natural circular frequency -Critical damping coefficient -Relative critical viscous damping -Damped circular frequency -Total solution as sum of homogenous and particular solution -Plotting displacement as a function of timeHow to use the function:- Step 1: Derive the equation of motion for the whole system in order to obtain total mass, damping, stiffness and excitation values.- Step 2: Determine the particular solution of the system.- Step 3: Determine the coefficients A & B in the homogenous solution according to the initial conditions, so that when (t=0) for u(t), coefficient A is obtained. Derive u(t) and set (t=0) and with help of A, the coefficient B could be obtained.- Step 4: Determine the total solution as a sum of homogenous solution and particular solution.- Step 5: Plot the result.Extra information: Try to experiment on increasing/ decreasing the value of the damping coefficient in order to see the decaying of the vibration.If the system is SDOF and free vibration wants to be plotted, ignore the exciting force & particular solution.</p>Benjamin Bondsmanhttps://www.mathworks.com/matlabcentral/profile/16085184-benjamin-bondsman738952020-01-11T21:18:11Z2020-01-11T21:18:11ZgitToo simple git wrapper makes it possible to call git as if it is a MATLAB command (given you have installed git and added to system path).<p>Too simple git wrapper combines all string arguments, decorates with spaces, appends 'git' and executes the result using MATLAB's system() command. That's it, and nothing else!This tool is made for simple, quick and dirty git usage through MATLAB command prompt. Nothing beyond that is promised.If you need more functionality, check out this link: <a href="https://stackoverflow.com/questions/42271061/matlab-git-by-command-windowUsage">https://stackoverflow.com/questions/42271061/matlab-git-by-command-windowUsage</a> examples:git --versiongit init awesome_projectgit pullgit commit -m 'awesome message'git push...</p>Hiranhttps://www.mathworks.com/matlabcentral/profile/5788470-hiran756532020-05-20T11:53:23Z2020-05-20T11:53:23ZELMELM with accuracy, sensitivity and specificity calculation<p>Modification Extreme Learning Machine code from MR QIN-YU ZHU AND DR GUANG-BIN HUANG by adding calculation of sensitivity and specificity</p>muhammad mahdi ramadhanhttps://www.mathworks.com/matlabcentral/profile/13326086-muhammad-mahdi-ramadhan817582020-11-01T10:09:58Z2020-11-01T10:09:58ZNewton-Raphson-Secant MethodFind a root at polynomial using Newton Raphson And Secant Method.<p>This is a combination method between Newton-Raphson and Backward Euler. This method can be used if the function is hard to derivate using analytical method.</p>Muhammad Raihan Ekaputra Idrisatriahttps://www.mathworks.com/matlabcentral/profile/19557924-muhammad-raihan-ekaputra-idrisatria222392020-06-11T01:52:38Z2020-06-11T01:52:38Znum2strexact (exact version of num2str)num2strexact does exact conversion of number to string based on IEEE floating point bit pattern<p>num2strexact is a self-building C-mex function that converts a double or single input to the exact decimal string. The conversion is done with hundreds of digits of precision to maintain the exact conversion. The conversion uses the exact decimal value of each bit of the IEEE double precision floating point format along with the exact application of 2^exponent. Inf and NaN bit patterns are recognized, and denormalized numbers are handled also.Don't confuse the exact conversion with significance! Double numbers will only be significant to about 15 decimal digits, and single numbers will only be significant to about 7 decimal digits. For example,>> format hex>> 1.2ans = 3ff3333333333333>> num2strexact(1.2)ans = 1.1999999999999999555910790149937383830547332763671875>> 1.2 + eps(1.2)ans = 3ff3333333333334 <-- one bit different from 1.2num2strexact(1.2 + eps(1.2))ans = 1.20000000000000017763568394002504646778106689453125>> num2strexact(eps(1.2))ans = 2.220446049250313080847263336181640625e-16You can see that 1.2 is not represented exactly in IEEE double format. The difference shows up in the 18th digit for this example. Then note that the very next number in the IEEE double format model is about 2e-16 bigger. The exact conversions are shown for each number, but they are not significant beyond the 16th digit shown. There are no numbers in between these two numbers that can be represented in IEEE double format.Syntax: Y = num2strexact(X [,'fixed' or 'float']) [Y1 Y2] = num2strexact(X1,X2 [,'fixed' or 'float']) [Y1 Y2 Y3] = num2strexact(X1,X2,X3 [,'fixed' or 'float']) : : etc etcX = double or single or halfNOTE: The half type can be input in one of two ways: 1) A uint16 class variable containing the half bit patterns 2) A half class variable. num2strexact must have access to the underlying bit patterns, so if you input a half class variable, then this will first be converted to the equivalent integer bit patterns with the storedInteger function (a temporary deep copy).The number of inputs must match the number of outputs, except in thespecial case of 1 input and 0 outputs where the result will simply beput into ans. If the input is a scalar, the output will be a char string.If the input is any other size array, the result will be a cell array ofthe same dimensions as the input, with each cell containing the charstring conversion of the corresponding element.The optional 'fixed' argument forces the result to be fixed point.The optional 'float' argument forces the result to be floating point. Allnumbers will be printed with exponents, even if the exponent is 0.The default will be fixed or floating point depending on the size of thedecimal exponent. Numbers with -1 <= (decimal exponent) <= 2 will bedisplayed as fixed point, else the number will be displayed as floatingpoint.All NaN bit patterns, regardless of the sign bit and payload, will bereturned simply as the string 'NaN'.Infinity bit patterns will be returned as 'Inf' or '-Inf' as appropriate.num2strexact gives similar results to the following NUM2IEEE function by Steven Lord:<a href="http://www.mathworks.com/matlabcentral/fileexchange/2996except">http://www.mathworks.com/matlabcentral/fileexchange/2996except</a> that num2strexact does not require the Symbolic Math Toolbox to display the potentially hundreds of exact digits, and num2strexact runs much faster.</p>James Tursahttps://www.mathworks.com/matlabcentral/profile/756104-james-tursa660882020-08-05T19:09:15Z2020-08-05T19:09:15ZedfreadUntilDone(fname, varargin)This file is a modification of edfread; it is meant to overcome filesize limitations of the former.<p>If my edfread function fails on your file, try edfreadUntilDone.NOTE: Support for this function is being deprecated. Please see:<a href="https://blogs.mathworks.com/pick/2020/07/10/deprecating-support-for-edfread-and-edfreaduntildone/">https://blogs.mathworks.com/pick/2020/07/10/deprecating-support-for-edfread-and-edfreaduntildone/</a></p>Brett Shoelsonhttps://www.mathworks.com/matlabcentral/profile/845693-brett-shoelson503392020-07-31T22:12:07Z2020-07-31T22:12:07ZEasily Simulate Custom Networks of LIF NeuronsDesign and simulate your leaky integrate and fire (LIF) neuron network in only a few lines of code.<p>In only a few lines of code you can customize and simulate a network of leaky integrate and fire neurons (LIF). This function facilitates quick testing of network architectures. The network can be simple, only specifying the weights of the connections between neurons, or complex with options ranging from offset currents, refractory periods, speed of synaptic transmission, noise, etc.Usage notes, extensive examples, and sources are given in the help.</p>Zachary Danzigerhttps://www.mathworks.com/matlabcentral/profile/1044524-zachary-danziger721242020-08-10T12:58:03Z2020-08-10T12:58:03Zfft_plot functionPlot signal FFT norm and phase versus frequency and signal versus time.Customizable display, also return FFT data.<p>Function can also return fft results.optionnal input argument:- 'legend': 'signal name'- 'title': 'your title'- 'window': 'none', 'hann', 'hamming', 'flattop', 'blackman', 'blackmanharris'- 'subplot': 'fft', 'fft_signal', 'fft_angle', 'all', 'none'- 'MinNorm': if norm is lower than this value, angle is forced to 0.(angle makes no sense for small norm)- 'H1': replace frequency axis with harmonic number (divide frequency axis by H1)- 'fmin': display frequency fmin to fs/2 (if H1 != 1 then fmin = Harmonic min)- 'fmax': display frequency 0 to fmax (if H1 != 1 then fmax = Harmonic max)- 'Amax': display amplitude 0 to Amax- 'style': 'line', 'stem', 'bar', 'stairs', 'area', (fft norm only)- 'scale': 'linear', 'semilogx', 'semilogy', 'loglog' - 'linewidth': number (defaut is 0.5)</p>pierre-alexandre chauvenethttps://www.mathworks.com/matlabcentral/profile/9594986-pierre-alexandre-chauvenet806322020-10-01T12:20:30Z2020-10-01T12:20:30ZKepler2CartsConverts classical orbital elements ( Keplerian Elements ) to position and velocity elements in cartesian coordinates (Oxyz). <p>This function is created to convert the classical orbital elements to cartesian position and velocity parameters of any satellite orbit in the geocentric - equatorial reference system.Comment:If you need an example code you can send me an e-mail.Cleared for any question.</p>Thameur Chebbihttps://www.mathworks.com/matlabcentral/profile/19777593-thameur-chebbi704472020-04-04T16:21:28Z2020-04-04T16:21:28ZFast Global Stiffness Matrix AssemblyGenerates global stiffness matrix from elements stiffness matrices in a fast way<p>function K=Fast_Matrix_Assembly(Elements) Input:---------Elements: a structure contains Elements{i}.K and Elements{i}.DOFs (Stiffness and Degrees of freedoms of the ith element).output:---------K: Sparse global stiffness matrixReferences-----------------Cuvelier, François, Caroline Japhet, and Gilles Scarella. "An efficient way to perform the assembly of finite element matrices in Matlab and Octave." arXiv preprint arXiv:1305.3122 (2013).</p>Ayad Al-Rumaithihttps://www.mathworks.com/matlabcentral/profile/6310243-ayad-al-rumaithi720922020-07-24T18:28:42Z2020-07-24T18:28:42Z2D Vortex Core Tracking - Gamma 1 - Super FastIdentifies 2D vortices using Gamma 1 from Graftieaux<p>Based on and inspired by Sebastian Endrikat <a href="https://www.mathworks.com/matlabcentral/fileexchange/52343-find-vortices-in-velocity-fieldsUnderlying">https://www.mathworks.com/matlabcentral/fileexchange/52343-find-vortices-in-velocity-fieldsUnderlying</a> math presented by L Graftieaux "Combining PIV, POD and vortex identification algorithms for the study of unsteady turbulent swirling flows" <a href="https://iopscience.iop.org/article/10.1088/0957-0233/12/9/307/pdfThanks">https://iopscience.iop.org/article/10.1088/0957-0233/12/9/307/pdfThanks</a> a lot!Sebastian's code is rather slow, though, because it uses 4 nested for loops. Producing the gamma1 map can be done more efficiently in Matlab by realizing that the operations described in the Graftieaux's paper can be rearranged into two convolutions. This code does that, basically. It also find the maximum gamma 1 by fitting a spline curve, therefore not being limited by the grid resolution of the vector field.The drawback is that it'll find only one vortex core, which might not be desired in some applications where multiple vortices form. One can, however, use the second output (G1) to perform their own peak finding/thresholding to find multiple vortex cores.Write-up of the details on <a href="https://zigunov.com/2019/07/08/finding-vortex-cores-with-gamma-1/Hope">https://zigunov.com/2019/07/08/finding-vortex-cores-with-gamma-1/Hope</a> it was useful!-FZ</p>Fernando Zigunovhttps://www.mathworks.com/matlabcentral/profile/10721836-fernando-zigunov721392020-01-01T19:52:58Z2020-01-01T19:52:58ZZombie Plague MA 2D zombie survival game that balances risk and reward.<p>Arguably the best MATLAB video game adaptation of a zombie-themed board game released in 2019, ZombiePlagueM is inspired by the free customizable board game, Zombie Plague, I had so much fun playing when I was younger. This is a single player version with substantially different rules but is organized around the same theme of running from zombies and trying to survive by securing a hiding place.The objective is to maximize your score by searching squares while surviving the growing zombie onslaught by barricading yourself inside the building. Being eaten by zombies reduces your score considerably, therefore you must balance the risks of searching against safely protecting your current score.To install, unzip and put the ZPMv1 directory on the MATLAB path and run ZombiePlagueM.m to open the main game window (which is resizable). To start a new game, navigate to Game>Start Game. For detailed instructions (you'll need them) and credits navigate to Game>Help.Many thanks to inspiring game creators Skott Kilander, Brian S. Roe, Mingjing Zhang, David Buckingham.</p>Zachary Danzigerhttps://www.mathworks.com/matlabcentral/profile/1044524-zachary-danziger722482020-10-03T05:19:52Z2020-10-03T05:19:52ZMoody chartPlots the Moody chart.<p>MATLAB code to plot the Moody chart, showing the relationship between the friction factor and the Reynolds number, for different roughness coefficients in a pipe.</p>Ildeberto de los Santos Ruizhttps://www.mathworks.com/matlabcentral/profile/5153703-ildeberto-de-los-santos-ruiz737222019-12-19T21:51:23Z2019-12-19T21:51:23ZDownload elevations from Google Maps (API key required)Get elevations from Google Maps (Google API key required) from latitute and longitude, coordinates input (UTM)<p>Get elevation from Google Maps (you need an API key to use this function! Check on Google developers page). The function create an URL to download the points elevations. Each URL corresponds to a single request. A single request can contain up to 450 points. For example, if you want to get the elevation for 1231 points, the function will submit three requests:- the first request returns 450 elevations;- the second request returns 450 elevations;- the third requests returns 331 elevations.The function requires 2 UTM coordinates arrays and the UTM zone.It saves: an Excel file with the elevations; a .KML file to visualize on Google Earth your points; .xml files corresponding to each request. The function outputs are:- an array of structures including the elevations of the points and their coordinates;- array of the elevations [m].----------------------------------------------------------------------------------------------------------------------------BE AWARE:From July 2018, Google allows a 200$ bonus to request the elevations and other data, check on:<a href="https://developers.google.com/maps/documentation/elevation/usage-and-billing200$">https://developers.google.com/maps/documentation/elevation/usage-and-billing200$</a> allows a big number of requests for free! But you better check here for costs and details:<a href="https://developers.google.com/maps/documentation/elevation/usage-and-billinghttps://cloud.google.com/maps-platform/pricing/#billing----------------------------------------------------------------------------------------------------------------------------To">https://developers.google.com/maps/documentation/elevation/usage-and-billinghttps://cloud.google.com/maps-platform/pricing/#billing----------------------------------------------------------------------------------------------------------------------------To</a> run this function, you need the following libraries:1) Wouter Falkena (2019). xml2struct (<a href="https://www.mathworks.com/matlabcentral/fileexchange/28518-xml2struct">https://www.mathworks.com/matlabcentral/fileexchange/28518-xml2struct</a>), MATLAB Central File Exchange. Retrieved December 18, 2019. 2) scott lee davis (2019). Google Earth Toolbox (<a href="https://www.mathworks.com/matlabcentral/fileexchange/12954-google-earth-toolbox">https://www.mathworks.com/matlabcentral/fileexchange/12954-google-earth-toolbox</a>), MATLAB Central File Exchange. Retrieved December 18, 2019.----------------------------------------------------------------------------------------------------------------------------This function was created during my collaboration with Disaster Resilience Simulation Lab (Polytechnic of Turin, Italy) and it contributed to the following achievement:- 11th National Conference on Earthquake Engineering (Los Angeles 25-29 June 2018): "Resilience assessment of large scale water distribution networks: a simulation approach".- 16th European conference on Earthquake Engineering (Thessaloniki 18-21 June 2018):"Monte Carlo Approach to Model the Progressive Failure of Water Distribution Networks:Application to a Virtual City".</p>Veronica Taurinohttps://www.mathworks.com/matlabcentral/profile/10397220-veronica-taurino643832020-07-06T09:45:10Z2020-07-06T09:45:10ZfindNDfind for 3D or ND<p>This function replicates the syntax for the built-in function 'find', but extends it to more dimensions.It is compatible with all releases up to and including MATLAB 6.5. For that release, the built-in find function doesn't support the find(X,K) syntax or find(X,K,side), while this function does.I have no access to even older releases, so I can't test compatibility, although I suspect this will work a few releases before 6.5.Licence: CC by-nc-sa 4.0</p>Rikhttps://www.mathworks.com/matlabcentral/profile/3073010-rik806172020-10-01T07:50:20Z2020-10-01T07:50:20Ztext3Adds a text specified by str as 3D lines plot in the current axes.<p>Adds a text specified by str as 3D lines plot in the current axes. The text is places with its lower left corner at location specified by x,y,z (which corresponds to 'HorizontalAlignment', 'left', 'VerticalAlignment', 'baseline' of MATLAB's text function). Default glyph height is approx 1 unit, text size can be scaled using 'scale' parameter. Text default orientation is in xy-plane. The orinatation can be modified using 'rz','ry' and 'rx' parameters. Note: rotation order is rz > ry > rx.The True Type Font Simplex.ttf is implemented here. Note: only the most important glyphs are implemented. Instructions on how to add more glyphs included in description of function.</p>Michael Karchhttps://www.mathworks.com/matlabcentral/profile/3920482-michael-karch795952020-08-27T18:52:23Z2020-08-27T18:52:23ZDouble Side Band Suppressed Carrier (DSBSC) ModulationThis file contains the MATLAB code for generation of DSBSC signal.<p>We know from analog modulation how DSBSC is superior to ordinary AM. In this code, you can find how DSBSC can be generated using MATLAB.</p>Saptarshi Neogihttps://www.mathworks.com/matlabcentral/profile/16939921-saptarshi-neogi757582020-05-22T02:25:28Z2020-05-22T02:25:28ZInpaint NaN using GriddataInpaint: Substitute a matrix that has some nan values with interpolated values. <p>This algorithm is inspired by the work of John D'Erricohttps://<a href="http://www.mathworks.com/matlabcentral/fileexchange/4551-inpaint_nansHowever">www.mathworks.com/matlabcentral/fileexchange/4551-inpaint_nansHowever</a>, I do notice that the inpaint_nans algorithm given by John D'Ericco gives a higher gradient compared to griddata. So, this algorithm provides an alternative solution that some people may find it helpful. </p>Kin Sung Chanhttps://www.mathworks.com/matlabcentral/profile/7763866-kin-sung-chan748702020-04-09T04:02:55Z2020-04-09T04:02:55ZplayTicTacToeAI Based TicTacToe<p>AI Base Tic-Tac-Toe which uses MINIMAX algorithm to find next move.</p>SANDEEP SOLANKIhttps://www.mathworks.com/matlabcentral/profile/6577804-sandeep-solanki728542020-07-08T12:55:22Z2020-07-08T12:55:22ZModel Execution TimeSimulates a Simulink model a number of times and records/plots the execution time.<p>Simulates a Simulink model a number of times and records the execution time data. The results are then plotted, along with the min, max, and mean times. The user can specify how many simulations to perform.</p>Monika Jaskolkahttps://www.mathworks.com/matlabcentral/profile/4417791-monika-jaskolka749932020-04-13T21:51:03Z2020-04-13T21:51:03ZGet sheet names from Excel fileReads the sheet names from Excel file for the given format :: .xls, .xlsm, .xlsx, .xltm, .xltx, .xltm<p>Reads the sheet names from Excel file for the given format :: .xls, .xlsm, .xlsx, .xltm, .xltx, .xltm%%********************************************************************************% Name : xl_xlsfinfo% Author : Pruthvi Raj G% Version : Version 1.0 - 2011b Compactible% Description : Finds all the sheets in the Excel file ( .xls, .xlsm, .xlsx, .xltm, .xltx, .xltm)% Input : File_Name with path included.% Date : 11-Feb-2020%% Examples : xl_xlsfinfo('D:\Pruthvi\Test_file.xls')%*********************************************************************************</p>Pruthvi Ghttps://www.mathworks.com/matlabcentral/profile/10761452-pruthvi-g742852020-02-18T10:35:36Z2020-02-18T10:35:36ZDiscrete Wigner-Ville DistributionDiscrete Wigner-Ville Time Frequency Analysis<p>The present code is a Matlab program for Discrete Wigner-Ville Time-Frequency analysis of a given (non-stationary) signal.% Discrete Wigner-Ville Distribution% x = Input Signal% fs = sampling rate% K = Kernel values% DVW = DWVT%This program is free software; you can redistribute it and/or modify</p>Haider Rizvihttps://www.mathworks.com/matlabcentral/profile/4789618-haider-rizvi797272020-08-31T17:19:59Z2020-08-31T17:19:59Zleafpile3DMakes a falling pile of random leaves in a box. Incorporate a drag law and compare with nature! Or save a still to hang on your wall!<p>This is a 3D extension of leafpile.m and includes to ability to add physics (currently the HW assignment for my Differential Equations students). As is, the code just lets gravity act alone on the leaves.This code takes advantage of Hamid Naderi Yeganeh's wonderful parametric curves that describe oak and maple leaf shapes [1] and MATLAB's built-in Autumn colormap.After using some randomization on the colors chosen within the colormap, the leaf coordinates, roll, pitch, and yaw, we have ourrselves a nice little leaf pile generator! Why wait until Mid October when you can experience those beautiful few weeks all year round within the comfort of your MATLAB console?This code will be updated with some realistic drag laws after my students' HW assignment is due. I'd also like to eventually incorporate some slider controls like Sean de Wolski did for the 2D leafpile code last year. [1] Hamid Naderi Yeganeh, Scientific American, March 16 2017, <a href="https://blogs.scientificamerican.com/guest-blog/how-to-draw-with-math/">https://blogs.scientificamerican.com/guest-blog/how-to-draw-with-math/</a></p>Nathaniel Barlowhttps://www.mathworks.com/matlabcentral/profile/9069783-nathaniel-barlow772842020-06-26T05:48:34Z2020-06-26T05:48:34ZStructure and object to JSONSave struct and object variables as a JSON file<p>saves the values in the structure 'data' to a file in JSON format.Based on the work of Lior Kirsch at: <a href="https://uk.mathworks.com/matlabcentral/fileexchange/50965-structure-to-jsonModification">https://uk.mathworks.com/matlabcentral/fileexchange/50965-structure-to-jsonModification</a> by Arthur Y.C. Liu 24/06/2020Example: data.name = 'chair'; data.color = 'pink'; data.metrics.imageSize = [1920; 1080]; data.metrics.height = 0.3; data.metrics.width = 1.3; saveJSONfile(data, 'out.json');Output 'out.json':{"name" : "chair","color" : "pink","eye" : [1,0,0,0,1,0,0,0,1],"metrics" : {"imageSize" : [1920,1080],"height" : 0.3,"width" : 1.3}}</p>Arthur LIUhttps://www.mathworks.com/matlabcentral/profile/4687901-arthur-liu703722020-09-08T20:55:42Z2020-09-08T20:55:42ZMatlab PaintMinimal 'paint' function<p> <a href="https://youtu.be/OkiUJtjPpEs">https://youtu.be/OkiUJtjPpEs</a></p>Silas Hendersonhttps://www.mathworks.com/matlabcentral/profile/11611379-silas-henderson546812020-01-31T18:22:11Z2020-01-31T18:22:11ZFeature fusion using Canonical Correlation Analysis (CCA)Feature level fusion using Canonical Correlation Analysis (CCA)<p>Feature fusion is the process of combining two feature vectors to obtain a single feature vector, which is more discriminative than any of the input feature vectors. CCAFUSE applies feature level fusion using a method based on Canonical Correlation Analysis (CCA). It gets the train and test data matrices from two modalities X and Y, and consolidates them into a single feature set Z. Details can be found in: M. Haghighat, M. Abdel-Mottaleb, W. Alhalabi, "Fully Automatic Face Normalization and Single Sample Face Recognition in Unconstrained Environments," Expert Systems With Applications, vol. 47, pp. 23-34, April 2016. <a href="http://dx.doi.org/10.1016/j.eswa.2015.10.047">http://dx.doi.org/10.1016/j.eswa.2015.10.047</a> (C) Mohammad Haghighat, University of Miami <a href="mailto:haghighat@ieee.org">haghighat@ieee.org</a> PLEASE CITE THE ABOVE PAPER IF YOU USE THIS CODE.</p>Mohammad Haghighathttps://www.mathworks.com/matlabcentral/profile/2857455-mohammad-haghighat753232020-05-02T15:03:19Z2020-05-02T15:03:19ZRadar Basic SimulationRoundtrip Time Computation <p>A simple radar simulation which computes the roundtrip time of radar pulse based on the radar distance traveled.</p>Bryan Nograhttps://www.mathworks.com/matlabcentral/profile/18152830-bryan-nogra748232020-04-02T13:13:20Z2020-04-02T13:13:20ZHTMLtableGenerate the code for a CSS/HTML-based data table from an input numeric, string, or cell array with many available formatting options.<p>Generate the code for an CSS/HTML-based data table from an input numeric, string, or cell array.The generated HTML code is compatible with any browser and app designer ('HTMLSource' for an HTML element). With 60 user adjustable parameters, and multiple accepted input formats, the table can be customized in virtually any way.All parameters are invoked via name-value pairs and validated.Please read the description at the beginning of the function for details of the arguments and examples.This function does not support nested tables, i.e., cells within cells, as many parameters need to be matched to the width or height of the table. </p>Eric Dziekonskihttps://www.mathworks.com/matlabcentral/profile/10568061-eric-dziekonski703482020-04-07T21:40:03Z2020-04-07T21:40:03ZDraw randomly centered circles of various sizesSet the range of radii, density, and other parameters to create a plot that draws randomly centered polygons with or without overlap.<p>This function plots circles or other polygons at random positions with varying radii. All input parameters are optional including the axes size, the range of radii, number of vertices per bubble (eg, polygon shape), density, the amount of space between bubbles or how much they can overlap, how they should fit within the figure, and other parameters. A figure is produced and there are four outputs that allow the user to make further changes to the plotted objects or to recreate the exact same plot. More detail is included at the top of the function and I've provided examples of how to use the outputs to add color, calculate the area of each circle, count the number of circles for each circle size, etc. Follow this page for updates.</p>Adam Danzhttps://www.mathworks.com/matlabcentral/profile/3753776-adam-danz273972020-03-18T20:09:48Z2020-03-18T20:09:48ZQuadratic programming by Wolf's methodThe function wolf solves a (convex) QPP using Wolf or restricted entry simplex method<p>This script is capable of solving a convex quadratic programming problem by Wolf's method. For the convergence of the algorithm it is necessary that either Hessian of the objective function be positive definite or positive semidefinite Hessian with linear term zero. For theory of Wolf method and QPP one may see "Numerical Optimization with Applications, Chandra S., Jayadeva, Mehra A., Alpha Science Internatinal Ltd, 2009."</p>Bapi Chatterjeehttps://www.mathworks.com/matlabcentral/profile/1407762-bapi-chatterjee746642020-03-22T00:30:08Z2020-03-22T00:30:08ZDeath ages from WikipediaThis program gets the ages of famous dead people from all months in a specified year from Wikipedia and histograms them.<p>This program gets the ages of famous dead people from all months in a specified year from Wikipedia and histograms them. It uses the webread() function to read in URLs like this: "<a href="https://en.wikipedia.org/wiki/Deaths_in_December_2019">https://en.wikipedia.org/wiki/Deaths_in_December_2019</a>". Such pages list the name, age, and (sometimes) the cause of death for people and animals that are well known or in the news for some reason. Then it parses what comes back to discard famous animals, and extract the ages of people. It computes and marks the mean age and median age at time of death for the people.Then it asks you an age (like your age) and gives you the the age that you'll have a 50% probability of living to. It also prints to the command window those people who were unusually young or old when they died.</p>Image Analysthttps://www.mathworks.com/matlabcentral/profile/1343420-image-analyst710532020-07-10T05:20:14Z2020-07-10T05:20:14Zfigure2pdfFIGURE2PDF exports the current MATLAB figure to a PDF file.<p>FIGURE2PDF exports the current MATLAB figure to a PDF file.This function is useful for preparing high-quality graphic files for research papers.</p>Ildeberto de los Santos Ruizhttps://www.mathworks.com/matlabcentral/profile/5153703-ildeberto-de-los-santos-ruiz554052020-01-31T18:18:13Z2020-01-31T18:18:13ZFeature fusion using Discriminant Correlation Analysis (DCA)Feature fusion using Discriminant Correlation Analysis (DCA)<p>Feature fusion is the process of combining two feature vectors to obtain a single feature vector, which is more discriminative than any of the input feature vectors. DCAFUSE applies feature level fusion using a method based on Discriminant Correlation Analysis (DCA). It gets the train and test data matrices from two modalities X and Y, along with their corresponding class labels and consolidates them into a single feature set Z. Details can be found in: M. Haghighat, M. Abdel-Mottaleb, W. Alhalabi, "Discriminant Correlation Analysis: Real-Time Feature Level Fusion for Multimodal Biometric Recognition," IEEE Transactions on Information Forensics and Security, vol. 11, no. 9, pp. 1984-1996, Sept. 2016. <a href="http://dx.doi.org/10.1109/TIFS.2016.2569061">http://dx.doi.org/10.1109/TIFS.2016.2569061</a> and M. Haghighat, M. Abdel-Mottaleb W. Alhalabi, "Discriminant Correlation Analysis for Feature Level Fusion with application to multimodal biometrics," IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2016, pp. 1866-1870. <a href="http://dx.doi.org/10.1109/ICASSP.2016.7472000">http://dx.doi.org/10.1109/ICASSP.2016.7472000</a> (C) Mohammad Haghighat, University of Miami <a href="mailto:haghighat@ieee.org">haghighat@ieee.org</a> PLEASE CITE THE ABOVE PAPER IF YOU USE THIS CODE.</p>Mohammad Haghighathttps://www.mathworks.com/matlabcentral/profile/2857455-mohammad-haghighat782152020-07-15T02:26:04Z2020-07-15T02:26:04ZAirplane fightAirplane fight game<p>four type of bullet,You're free to exploregave me rate if you like</p>Zhaoxu Liuhttps://www.mathworks.com/matlabcentral/profile/18192500-zhaoxu-liu795922020-08-27T15:36:07Z2020-08-27T15:36:07ZAmplitude Modulation This repository contains the MATLAB code for Amplitude Modulation. This can also be done using MATLAB Simulink. I have done it by writing a <p>This repo contains the Matlab code for Amplitude Modulation.</p>Saptarshi Neogihttps://www.mathworks.com/matlabcentral/profile/16939921-saptarshi-neogi127702020-09-14T11:13:24Z2020-09-14T11:13:24ZMYGINPUTSimple modification of GINPUT with custum cursor pointer<p>MYGINPUT Graphical input from mouse with custum cursor pointer.[X,Y] = MYGINPUT(N) gets N points from the current axes and returns the X- and Y-coordinates in length N vectors X and Y. [X,Y] = MYGINPUT(N, POINTER) also specifies the cursor pointer, e.g. 'crosshair', 'arrow', 'circle' etc. See "Specifying the Figure Pointer" in Matlab's documentation to see the list of available pointers. MYGINPUT is strictly equivalent to Matlab's original GINPUT, except that a second argument specifies the cursor pointer instead of the default 'fullcrosshair' pointer. Example:plot(1:2,1:2,'s');hold on[x,y] = myginput(1,'crosshair');plot(x,y,'o');hold off MYGINPUT is copied from Matlab's GINPUT rev. 5.32.4.4.</p>Frederic Moisyhttps://www.mathworks.com/matlabcentral/profile/143724-frederic-moisy645782020-04-06T08:58:21Z2020-04-06T08:58:21Znistdata(species,T,p)Create tables of thermophysical properties for gases<p>Downloads data tables from the NIST Chemistry Webbook (<a href="http://webbook.nist.gov/chemistry/fluid/">http://webbook.nist.gov/chemistry/fluid/</a>) for a specified temperature and/or pressure range. The tables are useful for plotting or for data lookup by interpolation.</p>Are Mjaavattenhttps://www.mathworks.com/matlabcentral/profile/3934907-are-mjaavatten