| Date | File | Comment by | Comment | Rating |
|---|---|---|---|---|
| 09 Jan 2009 | Writing Fast MATLAB Code Speed up your project with this collection of techniques. | Aniket | very well written guide..thanks | |
| 08 Jan 2009 | curvspace Generate evenly spaced points along an existing curve in 2D or 3D. | Tagliasacchi, Andrea | thanks a lot, I didn't want to lose time re-implementing it! | |
| 08 Jan 2009 | mmread Read virtually any media file in Windows, Linux, or Mac. | Richert, Micah | Hi Francesca, I also didn't notice this earlier. You are using the old version of mmread. Please try to the new version and see if that solves your problem. Best, Micah | |
| 08 Jan 2009 | Couple Serial and parallel way in a couple mechanism. | 9000, Hal | Neither you nor your programs will ever revolutionize anything. | |
| 08 Jan 2009 | Couple Serial and parallel way in a couple mechanism. | 9000, Hal | ||
| 08 Jan 2009 | Steepest Decent Method for Multiple Variable Functions Solves a multivariable unconstrained optimization method using the Steepest Decent Method | Faridani, Siamak | ||
| 08 Jan 2009 | Complex Dilogarithm Dilogarithm of any complex numbers | Clamond, Didier | I don't see what's wrong with dilog.m for x in the interval [0 2]. For example, with Matlab R2007a: dilog(0.25) ans = 0.267652639082733 with Mathematica 5.2: N[PolyLog[2, 1/4], 17] ans = 0.26765263908273261 | |
| 08 Jan 2009 | IEEE 802.11a WLAN model IEEE 802.11a WLAN physical layer model, with demonstration of adaptive modulation and coding. | Kusuma, Julius | Very nice work, but its utility for learning is crippled by lack of any documentation whatsoever. | |
| 08 Jan 2009 | Detect circles with various radii in grayscale image via Hough Transform Detect circular shapes in a grayscale image. Resolve their center positions and radii. | Borland, Lee | Hi all. This may seem like a silly question, but how does one run an add on file such as this? I am attempting to detect circles in images. So far, the only code I have in matlab is open/close code to enhance my edges, then blob analysis to detect my circles and finally convex hull code to fill in my circles. So I now have a BW image containing 4 white circles, very much like the images in the examples. Can someone advise as to how i now implement this file for radius calculations? I attempted to copy and paste but got the error: Error: Function definitions are not permitted at the prompt or in scripts. Obviously missing something silly here, can anyone help?? | |
| 08 Jan 2009 | DESTINY A tourney with 8 teams in 3 days and 7 games of total classification. | Gilbert | baloney | |
| 08 Jan 2009 | The emotive perception Three triple instants of constant half. | Gilbert | lol | |
| 08 Jan 2009 | xlswrite1 increases speed of xlswrite function when used in loops or multiple times. | katie | awesome. I was wondering if this could be modified to write to multiple files within a single loop? | |
| 08 Jan 2009 | mmread Read virtually any media file in Windows, Linux, or Mac. | Richert, Micah | Hi Holger, To be able to read more frames than fit in memory, I strongly recommend looking into using processFrame.m (in mmread). As far as why the frames aren't changing, this probably has to do with having trySeeking turned on (the default behavior). For example: mmread('mymovie.mpg',framenumber,[],false,false,'',false) You can safely ignore the warning message about shadowing. It has to do with Matlab changing the file extension of mex files on Windows. Best, Micah | |
| 08 Jan 2009 | Split Step Fourier Method Simulate Pulse propagation in Fiber optics | Xu | it is correct, i made a mistake , it is /dt. comment, his code is not normalized expression | |
| 08 Jan 2009 | Convert 24/12 Hr. time string to a unique number Converts a string like '14:21:3:221" to a unique integer number. | Aniket | Another comment I wanted to add: the datenum() function [the way we use it here..] does exactly what my last line of code does. So to answer your question of what purpose this code serves, is it checks for string validity to conform to a time string.. So for people who do not want to write that from scratch, this code could be used off-the-shelf. | |
| 08 Jan 2009 | mmread Read virtually any media file in Windows, Linux, or Mac. | Goerlitz, Holger | Dear Micah, thanks for this code; that seems to solve my problems of working with mpeg2 movies in Matlab. I get the same Warning message as Francesca pointed out above: Warning: In the directory "D:\common\matlab\_MatlabCentralToolboxes\mmread", mexDDGrab.mexw32 now shadows mexDDGrab.dll. but I can open my mpg-file. Is this anything to worry about? In addition, I have another problem: I am stepping through a long mpeg2 movie, reading and displaying only one frame at a time, using mmread('mymovie.mpg',framenumber). However, when I successively increase framenumber by 1, it seems that mmread keeps retrieving the same image (there is now change visible in the displayed image). Only when doing bigger jumps of sometimes 10 or 50 frames, I really get the new frame. Do you have any idea what's going on here? Thanks for your help, and again for mmread as a whole! Holger | |
| 08 Jan 2009 | Convert 24/12 Hr. time string to a unique number Converts a string like '14:21:3:221" to a unique integer number. | Aniket | You are right Jos, that this is possible... In my case, I was doing some additional time processing because of which I had to write that function...and thought it could be useful on the web...without thinking about datenum()... | |
| 08 Jan 2009 | watchmakerNpS Single spacetime point visualization | Bozovic, Gavrilo | ||
| 08 Jan 2009 | struct2ws Throws selected fields of a scalar structure in the current workspace. | Spielauer, Stefan | ||
| 08 Jan 2009 | Barerror Plots a multiple bar graph with error bars | Falofolio | Works perfect. Thanks for this great script. | |
| 08 Jan 2009 | Barerror Plots a multiple bar graph with error bars | Falofolio | ||
| 08 Jan 2009 | mmread Read virtually any media file in Windows, Linux, or Mac. | Francesca | Dear Micah, I have the following segmentation violation problem when using your function: >> [video] = mmread('br100.avi') Warning: In the directory "C:\mmread", mexDDGrab.mexw32 now shadows mexDDGrab.dll. Please see the MATLAB 7.1 Release Notes. Saving minidump to file C:\DOCUME~1\FR9331~1\IMPOST~1\Temp\matlab_crash_dump.1316.0.dmp ------------------------------------------------------------------------ Segmentation violation ------------------------------------------------------------------------ Configuration: MATLAB Version: 7.5.0.342 (R2007b) Operating System: Microsoft Windows XP Window System: Version 5.1 (Build 2600: Service Pack 3) Processor ID: x86 Family 6 Model 14 Stepping 8, GenuineIntel Virtual Machine: Java 1.6.0 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode Default Charset: windows-1252 Register State: EAX = 0acea7e8 EBX = 00bec49c ECX = 00bec49c EDX = 0ace9648 ESI = 000002f0 EDI = 00000010 EBP = 00000002 ESP = 00bec43c EIP = 0c39657f FLG = 00010206 Stack Trace: This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files. If it is an official MathWorks function, please follow these steps to report this problem to The MathWorks so we have the best chance of correcting it: The next time MATLAB is launched under typical usage, a dialog box will open to help you send the error log to The MathWorks. Alternatively, you can send an e-mail to segv@mathworks.com with the following file attached: C:\DOCUME~1\FR9331~1\IMPOST~1\Temp\matlab_crash_dump.1316 ------------------------------------------------------------------------------ Any idea on what it is happening here? Many thanks! Francesca | |
| 08 Jan 2009 | program Color balancing A simple program for color balancing | QQ, pupu | the effect is good enough,better than some comercial software in China ,for exmaple neo imaging.theory based on a taiwan paper on IEEE | |
| 08 Jan 2009 | Convert 24/12 Hr. time string to a unique number Converts a string like '14:21:3:221" to a unique integer number. | Jos | First, what use does this submission offer, except as a simple programming example, since we are already equiped with DATENUM? Second, what about actually using datenum to get these integer values; something like: datenum(0,0,0,H,M,S) ./ datenum(0,0,0,0,0,0.001) | |
| 08 Jan 2009 | quiver3d This function provides an improvement over the QUIVER3 technique for visualizing 3D vector fields. | Jayaraman, Divahar | Works Great... Best wishes Thanks, Divahar Jayaraman | |
| 08 Jan 2009 | Sinusoidal PWM for Three Phase Inverter (SPWM Inverter) SPWM technique for Three Phase Inverter | neradhala, nagaraj | ||
| 08 Jan 2009 | Rapid AES data encryption and decryption Rapidly encrypts and decrypts data using the 128-bit Advanced Encryption Standard (AES) | k, rajchandar | and please specify the correct OUTPUT for this program.... | |
| 08 Jan 2009 | dfig dynamic modeling of dfig | neradhala, nagaraj | ||
| 08 Jan 2009 | WCDMA FDD uplink M-files wcdma mallab M-files and source code | Lee, Hongtak | Would you send me the source code to hongtak@kaist.ac.kr Please send to me WCDMA FDD uplink M-files and it's source code. Thanks | |
| 07 Jan 2009 | Open CV Viola-Jones Face Detection in Matlab Viola-Jones Fast Face Detection Mex Implementation | Varma, Ravi | Hi All, I need a help,regarding haartraining xml file how to understand the xml file?. | |
| 07 Jan 2009 | Area and volume of a 3D convex hull Volume and area of a 3D convex hull. | Jveer | ||
| 07 Jan 2009 | image matching with GUID image matching with GUIDE | Jveer | looks very useful! can this be modified to compare differences in 2 shapes made out of points where the coordinates of each point is known? or for simplicity changes on a chosen 2d plane? could be used to asses deformation in 3d shapes for engineering applications, | |
| 07 Jan 2009 | Circle fit Fit a circle to a set of measured x,y points. | Chernov, Nikolai | This circle fit has been first published by P.Delogne and I.Kasa in the 1970s and is known as "Kasa method" in statistics. It works well when points cover a large part of the circle but is heavily biased when points are restricted to a small arc. Better fits were proposed by Pratt and Taubin. | |
| 07 Jan 2009 | Export 3D line to Paraview Function to export a 3D line to a VTK format which can be open with Paraview. | Pilchak, Adam | perfect timing. writing a script to transform to vtkdata for reading in paraview was on the to-do list tonight. thanks! | |
| 07 Jan 2009 | Fast RGB2HSV Flexible, fast and memory-efficient extension of RGB2HSV | McArthur, John | Really great on R14, WinXP. No problems. More than quartered the computation time by using 'single' and by only working with the 'V'. Use this if you want to convert color images to BW images, and use the 'V' setting to get the value of each pixel in the HSV system. | |
| 07 Jan 2009 | DESTINY A tourney with 8 teams in 3 days and 7 games of total classification. | Marco | First utility of this program is to show a mechanism of half: the past and the future in symmetry. Past is the reality life and future is the imaginary life. I can live because I'm a point of half, in the half, constantly, from the infinite past time to the infinite future time. Is a alternative proposal at Big Bang start, like all other my programs. No Big Bang, there isn't start point of the life, life is infinite, constantly in the half because the time is an emotive perception. The big utility is to understand a mechanism and to work with friends to complete a global software of event prediction. | |
| 07 Jan 2009 | maximize figure windows Maximize figure windows by using the Microsoft Windows application programming interface (API). | McArthur, John | works perfect on R14, WindowsXP, with taskbar set to autohide. need to have the .dll file either in the folder with the .m file, or in your searchpath | |
| 07 Jan 2009 | EMD (Earth Movers Distance) mex interface emd_mex computes Earth Movers Distance between two signatures. | Patrick | Thanks, Masoud! I have a 64 bit Linux system. To get this code to work, I needed to make the following modifications. 1. In emd_mex.c line 106: change "//maxsimum size of flow" to "/*maxsimum size of flow*/" since the "//" for single-line C comments are Microsoft only. 2. Add a line break to the end of emd_mex.c and save. 3. Run build_emd. Thanks, and I hope that was helpful. Patrick | |
| 07 Jan 2009 | CXSparse: an extended CSparse (real and complex, 32-bit and 64-bit) A concise sparse matrix package for the book "Direct Methods for Sparse Linear Systems" | Schuhmann, Dave | Hi, I am trying to build cxsparse together with ublas (using ublas_csparse.hpp from Gunter Winkler) under Windows with MSVC++8.0 (NCOMPLEX defined). But it fails since ublas_csparse.hpp invokes some functions which are declared in cs.h but not defined within the cxsparse package. The result are some unresolved externals: error LNK2001: unresolved external symbol _cs_dl_lu error LNK2001: unresolved external symbol _cs_dl_lsolve error LNK2001: unresolved external symbol _cs_dl_ipvec error LNK2001: unresolved external symbol _cs_dl_nfree error LNK2001: unresolved external symbol _cs_dl_sfree error LNK2001: unresolved external symbol _cs_dl_sqr error LNK2001: unresolved external symbol _cs_dl_ltsolve error LNK2001: unresolved external symbol _cs_dl_pvec error LNK2001: unresolved external symbol _cs_dl_utsolve error LNK2001: unresolved external symbol _cs_dl_usolve Can somebody tell me where these functions are defined? Am I missing something? Many thanks in advance for help, David. | |
| 07 Jan 2009 | AREASHADE Shades areas between a curve and a fixed threshold. | Jagadeesh | WoW, this is really superb.And, Andreas have you ever tried transparent plot i.e the plot which is behind is overlapped with the plot at the front and should be visible to the user | |
| 07 Jan 2009 | Point of Half Double verse and present instant. | Bozovic, Gavrilo | ||
| 07 Jan 2009 | DESTINY A tourney with 8 teams in 3 days and 7 games of total classification. | Bozovic, Gavrilo | Marco, I have a question: you say that the utility of your program is "happy eternity life my friends". I guess we don't have the same definition of utility. Could you explain me what I can do with it? How can another MATLAB user use your code to improve his research? | |
| 07 Jan 2009 | Progress Meter for Execution of Tasks/Loops Include simple calls to PROGMETER in your code to display its progress in the command window. | Serrano, Arturo | ||
| 07 Jan 2009 | Detects multiple disks (coins) in an image using Hough Transform HOUGHCIRCLES detects multiple disks (coins) in an image using Hough Transform. | Sven | Nice function. Code is well documented and clearly written. One suggestion is to follow the example of the peaks() function: if no output argument is given, then create a figure and display the image. If it's used with an output argument, assume the user is embedding the function in their own code, and doesn't want a figure to come up automatically. | |
| 07 Jan 2009 | ps2pdf Convert PostScript file to PDF using Ghostscript; each input page onto a separate output page | Mat, Tom | The Title (push Ctrl+Shift+D in Acrobat) of the pdf files, is the name and path of the ps File. It would be good to have an option to avoid this... | |
| 07 Jan 2009 | ps2pdf Convert PostScript file to PDF using Ghostscript; each input page onto a separate output page | Mat, Tom | ||
| 07 Jan 2009 | MULTICORE - Parallel processing on multiple cores This package provides some functions realizing parallel processing on multiple cores/machines | Serrano, Arturo | I got the same problem as Rohaly. When master ends the computation, and there is a slave still working, the master computes the remaining job again, yielding an extra iteration. The solution is to set MAXMASTEREVALUATIONS, with all its drawbacks, since i understand that this isn't a bug rather than a problem not knowing if the slave got interrupted. BTW, it works like a charm. | |
| 07 Jan 2009 | Kolmogorov Distribution Functions kolmcdf, kolmpdf, kolminv | Nesic, slavne | ||
| 07 Jan 2009 | Nested Structure to Flat Cell Vector Tools to flatten a nested struct into cell | Shilon, Ofek | Exactly what i needed, works like charm. thanks! | |
| 07 Jan 2009 | Image segmentation & Extraction This program segments and extracts objects from an image. | kumar, kumar | how to give the value if i want to get all the text objects. if i give 17 i get only one , if i give any other i get only some dot..... | |
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Contact us at files@mathworks.com