Search Comments and Ratings

go

   
Date File Comment by Comment Rating
03 Mar 2015 Guidelines for writing clean and fast code in MATLAB This document gives hints on how to write fast and good quality MATLAB code. Author: Nico Schlömer

Nico Schlömer (view profile)

David Verrelli

5
03 Mar 2015 Mean square displacement analysis of particles trajectories A MATLAB class for the mean square displacement analysis of particle trajectories, with a tutorial. Author: Jean-Yves Tinevez YOUNGKWANG LEE

Hi Jean-Yves,

Thank you for sharing nice tools.

I have some problem running msdanlayzer.
Running with fake data is completely fine, but when I work with actual data, I have some bugs.

In short, all trajectories have different trajectory length. If I do MSD fit to get individual D values from each trajectory, the fitting range is automatically set as Max. trajectory length * clip factor. It turned out all computed msd values have same time axis corresponding to the longest trajectories. In short trajectories, If the x^2 and y^2 is not available in the later time delay, NaN is shown.

Thank you.

Comment only
02 Mar 2015 Decentralized Path Planning For Coverage Using Gradient Descent Path planning algorithm using gradient-descent on way-points to cover interesting regions Author: Srikanth Kandanuru Venkata Sudarshan Aaron Becker

Aaron Becker (view profile)

Thanks for implementing this Srikanth. Could you also calculate the cost function that is being optimized?

5
02 Mar 2015 zoharby/plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda Giorgos Papakonstantinou

5
02 Mar 2015 Analytical solution for Orthogonal Linear Least Squares in two dimensions The function returns the Orthogonal Linear Least Squares estimate for parameters of line ax+by+c=0 Author: Liber Eleutherios Liber Eleutherios

@Tharindu,
the command

plot(x, [ones(T,1) x] * [-f(3); -f(1)], 'r')

plots the line by using the values in x.

You could as well do the opposite and plot the line by using the values in y: it would still be the same line.

The function does not estimate [Xhat, Yhat] but, yes, I agree that an acceptable way to estimate them would be to project [x, y] orthogonally on the line.

In case the elements of x present a unique value, the function will correctly return infinity for first and third parameter and 1 for the second one.

Then I reckon an acceptable way to plot the line would just be:

plot(x(1:2), [min(y), max(y)])

Note that this is beyond the scope of the function though.

Comment only
02 Mar 2015 PCAtool Compute everything you need for EOF,EEOF,CEOF,SVD,lagged SVD Author: Guillaume MAZE

Guillaume MAZE (view profile)

Chad Greene

Chad Greene (view profile)

Users who have the Mapping Toolbox may want to rename the plotm function included in this PCAtool package.

Comment only
02 Mar 2015 Support Vector Regression A MATLAB implementation of Support Vector Regression (SVR). Author: Ronnie Clark

Ronnie Clark (view profile)

Thiago

Thiago (view profile)

Dear Ronnie Clark,
thanks for sharing with us your code. I see you have been maintaining this for a while now. I have been experiencing a strange behavior: every fit I make with your function gives me an additional shift. You can generate a very simple dataset (1d straight line for instance) and when you plot the prediction against the original data you'll see this (vertical) shift. My guess is that b is either ill-defined or being lost somewhere. Sorry I couldn't debug further.

If you can check this, it'd be fantastic!
Th

Comment only
02 Mar 2015 Adobe Photoshop PSD file reader Functions to read images and get metadata from Adobe Photoshop PSD files. Author: Jeff Mather

Jeff Mather (view profile)

Nawar

Nawar (view profile)

I have an RGB image that I seperated in MATLAB to multi-channel image (more than 4 channels). This function is very good at read psd files but I would like to save psd file in MATLAB. Can anyone help me in this. Thanks.

Comment only
02 Mar 2015 AR Drone Simulink Development-Kit V1.1 Blockset for the simulation and Wi-Fi control of the Parrot ARDrone 2.0. Simulate, connect, and fly! Author: David Escobar Sanabria Pascal

Pascal (view profile)

Hi,

I've problems to start, when I use start_here for wifi control and Hover, the function rtwbuild('ARDroneHover')...I've got a configuration windows asking for :
Set the 'Target hardware' parameter to match your target hardware.

But I don't have any target for the AR Drone....

What could be wrong ?

Comment only
02 Mar 2015 matlab blue-white-red colorbar, while zero always corresponds to white color matlab blue-white-red colorbar, while zero always corresponds to white color. see also darkb2r Author: zhang zhang

zhang zhang (view profile)

Marcel

Marcel (view profile)

I encounter an error when abs(cmin)>cmax. Adding 1 to start_point in line 90 seems to do the job.

5
02 Mar 2015 plot_subroutines plots the subroutines in a function, and their dependencies on each other Author: Christopher Pedersen Christopher Pedersen

@Richard Ruff.
Thanks for your comment. I have added a bugfix that correctly handles built-in functions. Hope this fixes the issues you are having.

the function actually uses mlintmex, so it must have an m-file to examine. It will use the "which" command to determine which file it should examine.

For example:
plot_subfun('plot_subfun.m')
will give you a plot of the 22 subroutines in the file plot_subfun.m.

plot_subfun('plot')
will tell you there are no subroutines, because the file plot.m is just a script. My function isn't clever enough to realise that plot.m is also a wrapper for a built-in function.

Comment only
02 Mar 2015 circlem Draw circles on maps Author: Chad Greene

Chad Greene (view profile)

Chad Greene

Chad Greene (view profile)

Stephen: This function plots circles on *maps* in georeferenced (lat,lon) coordinates. The inbuilt rectangle function does not properly place circles in geographic coordinates. Further, the inbuilt rectangle function does not have the capability to calculate the lat,lon coordinates of a circle of a given radius. The circlem function makes it easy for users to enter center lat,lon location(s) and radius or radii in kilometers or miles, and circles are plotted properly.

Comment only
02 Mar 2015 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer

Nico Schlömer (view profile)

Abdoulaye Sanni

5
02 Mar 2015 ARMASA Automatic program to estimate the power spectral density with only statistically significant details Author: Piet M T Broersen Teh

Teh (view profile)

Dear Users,

I use this to fit an ARMA model to my windspeed time series data.

However, when i simulate the windspeed using the simuARMA function, i obtain negative values to my wind speed.

please help!

Comment only
02 Mar 2015 Data Acquisition Toolbox Support Package for National Instruments NI-DAQmx Devices Acquire and analyze data from NI-DAQmx DAQ devices Author: MathWorks Data Acquisition Toolbox Team Or Hirshfeld

How Can I install this package on matlab 2012b

Comment only
02 Mar 2015 MATLAB to Point Cloud Library matpcl is pure MATLAB code that allows interfacing with the Point Cloud Library (PCL) tools Author: Peter Corke

Peter Corke (view profile)

Oystein

4
02 Mar 2015 zoharby/plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda Zohar Bar-Yehuda

Wyfi Mcfly - fixed in latest version (used a more elegant solution using 'UserData' field in handle. Please update to latest version.

Comment only
02 Mar 2015 PLOTCUBE Plot a 3D-cube Author: Thomas Montagnon Xindi Li

Thanks :)

5
02 Mar 2015 High Dimensional Data Clustering (HDDC) The High Dimensional Data Clustering (HDDC) toolbox contains an efficient unsupervised classifiers f Author: Charles Bouveyron khashayar

Hello,

Could you please provide a step by step direction for using this package (includes compiling part). I tried to use it, but it couldn't find hddc_learn_fast function.

Thanks,
Khashayar

Comment only
02 Mar 2015 3D data space coordinates to normalized figure coordinates conversion Like dsxy2figxy or ds2nfu, also work for 3D axes. An utility function to help annotation. Author: MinLong Kwong Robert Cumming

An excellent function.

I have noticed that it doesn't get the exact positions with HG2 (R2014b onwards) as well as it did in R2013a for example. Have you looked at that?

5
02 Mar 2015 welchanova Welch ANOVA Test for Unequal Variances. Author: Antonio Trujillo-Ortiz Hugo Mendonça

Hi!
I am just wondering if it is possible to use your program as 2-way anova for unequal variances?
Thanks!

Comment only
02 Mar 2015 plot_subroutines plots the subroutines in a function, and their dependencies on each other Author: Christopher Pedersen Richard Ruff

Christopher - Do you have examples to run? Every file I have tried has failed. I haven't investigated in detail, but appears this requires the functions be executed, so the user must replace foo in your comments with a full function call syntax. Is that correct? A few examples will help the user understand the requirements to run this.

Comment only
02 Mar 2015 Auto Gaussian & Gabor fits Fit 1D/2D Gaussian or Gabor to a curve/surface without start guesses for params Author: Patrick Mineault Jim Morgenstern

i would like to use a mask to include only certain pixels in the calculations; does lsqcurvefit already allow for a mask? how would i implement such a mask here ? thanks

Comment only
02 Mar 2015 Auto Gaussian & Gabor fits Fit 1D/2D Gaussian or Gabor to a curve/surface without start guesses for params Author: Patrick Mineault Jim Morgenstern

thanks for providing.
I did add a line:
p.addOptional('Display', 'none');
so i could control the warning outputs from my code.

5
02 Mar 2015 Gabor Feature Extraction This program generates a custom Gabor filter bank; and extracts the image features using them. Author: Mohammad Haghighat chaperon chaperon

Hello Mohammad, could you please send me your paper with the matlab code as i am interested in working on gabor filter. My email id is asmaa.touil@gmail.com,
thanks

Comment only
02 Mar 2015 Truss Analysis Performs Truss Analysis of a 2 or 3 dimensional truss by the direct stiffness method. Author: Frank McHugh

Frank McHugh (view profile)

Mehran M

2
02 Mar 2015 Truss Analysis Performs Truss Analysis of a 2 or 3 dimensional truss by the direct stiffness method. Author: Frank McHugh

Frank McHugh (view profile)

Mehran M

1
02 Mar 2015 Virtual Beam Demonstrator This is a small learning/teaching program for "classical beam theory" in structural engineering Author: Magnus Nilsen Richard Ruff

I encountered a couple of issues with this submission. First, it throws an error because it is dependent on the user being in the App's install folder. If this is needed, then the App should automatically place the user in the directory. The second issue is the figure exceeded my 24" monitor and could not be resized, thus limiting the usability.

Comment only
02 Mar 2015 Functional Programming Constructs A set of files for treating many operations, like "if", "for", and even "()", as functions. Author: Tucker McClure

Tucker McClure (view profile)

Joerg

Joerg (view profile)

Hi Tucker,

many thanks for the code. The "output" function is more flexibel if an optional argument is allowed:

function varargout = output(f, out_indices, varargin)

[outs{1:max(out_indices)}] = f(varargin{:});

varargout = outs(out_indices);

5
02 Mar 2015 Support Vector Regression A MATLAB implementation of Support Vector Regression (SVR). Author: Ronnie Clark

Ronnie Clark (view profile)

julienD

Hi,
Thank you for the file, How you choose epsilon and c parameter ?

Comment only
02 Mar 2015 Mean square displacement analysis of particles trajectories A MATLAB class for the mean square displacement analysis of particle trajectories, with a tutorial. Author: Jean-Yves Tinevez Jean-Yves Tinevez

Hi @LM,
The fitMSD method does what you want.
Best
jy

Comment only
02 Mar 2015 ZiNuZZ resonant LLC converter tool (DEMO) DEMO version of a MATLAB tool for the analysis and design of resonant LLC converters. Author: comm@ZeoN comm@ZeoN

The demo now better shows the great capabilities of ZiNuZZ.
A User Manual and a Technical Note on FHA power mismatch have been added.
Check www.zeonpowertec.com for the full version with unlocked specification fields.

Comment only
02 Mar 2015 PCA and ICA Package Implements Principal Component Analysis (PCA) and Independent Component Analysis (ICA). Author: Brian Moore

Brian Moore (view profile)

pratika tiwari

5
02 Mar 2015 PCA and ICA Package Implements Principal Component Analysis (PCA) and Independent Component Analysis (ICA). Author: Brian Moore

Brian Moore (view profile)

pratika tiwari

thanks for the package..!! but how to use for speech signal?? i am too new to this field. that's why i need your guidance .

Comment only
02 Mar 2015 multiWaitbar( label, varargin ) A new "shiny" progress-bar with multiple bars in a single window, time-estimates and more. Author: Ben Tordoff

Ben Tordoff (view profile)

Wei Yap Tan

A very nice waitbar! I would personally wish for the ability to make the waitbar in focus again after my parent GUI updated its plot.

5
02 Mar 2015 Turbo Code Encoding: RSC, Decoding: BCJR Author: Yogesh K Soniwal joy lobo

I think the iitk mail id might be defunct now...and yogeshsoniwal@gmail.com is not being recognised...please tell me as to how to send u the code

Comment only
02 Mar 2015 allregress(y,X,criteria) All possible regressions of y on X, selecting the best model by a means of selection criteria Author: Shen Liu

Shen Liu (view profile)

Shen Liu

Shen Liu (view profile)

Thanks to @Bjorn Gustavsson for detecting the error in computing AIC and BIC. It is now corrected.

Comment only
02 Mar 2015 Turbo Code Encoding: RSC, Decoding: BCJR Author: Yogesh K Soniwal joy lobo

Hey Yogesh,I have sent the code to ysoniwal@iitk.ac.in.Please check

Comment only
02 Mar 2015 Matlab to EDF Conversion This is a simple GUI to allow easy conversion of MAT files to EDF. It is based on BioSig Toolbox. Author: Rajeev Yadav Igor Arroyo

I meant the function "fwrite",
Thank you in advance

Comment only
02 Mar 2015 Matlab to EDF Conversion This is a simple GUI to allow easy conversion of MAT files to EDF. It is based on BioSig Toolbox. Author: Rajeev Yadav Igor Arroyo

Hi, thanks for the file but I couldn't use it because of the function write, I can't find it anywhere.
I would be really grateful if you could help me.

Comment only
02 Mar 2015 Mean square displacement analysis of particles trajectories A MATLAB class for the mean square displacement analysis of particle trajectories, with a tutorial. Author: Jean-Yves Tinevez LM

LM (view profile)

Hi Jean-Yves,

it's me again - I asked a question some months ago;) The problem I had that time is solved now, and before I come to the next one, let me compliment you for this great program! H
Now, to my question - I guess it is a rather silly one, but I am pretty much of a matlab-noob... For a certain application I need the diffusion coefficients of every single trajectory, not the mean diffusion coefficient. Of course, your program calculates it, because it calculates the mean, but how can I the values out? In the ideal case, I just have a list with diffusion coefficients obtaiend from every single MSD curve...

Thanks a lot!:)

Comment only
02 Mar 2015 Parzen PNN A Parzen Probabilistic Neural Network classifier Author: Gabriele Lombardi farzad

farzad (view profile)

Hello , shall I ask you if this code could be used for a multiple input multiple output NN ?

Comment only
02 Mar 2015 Turbo Code Encoding: RSC, Decoding: BCJR Author: Yogesh K Soniwal joy lobo

Yogesh,whats your email id?yogeshsoniwal@gmail.com is not getting accepted

Comment only
02 Mar 2015 Round to X Rounds the supplied N-D matrix to the values in a supplied array. Author: Owen Brimijoin Owen Brimijoin

@Stephen Cobeldick: a revised version has now been posted to the FileEx based on your recommendations. All of them have been implemented, save one: the addition of a 'fix' method. The reason it hasn’t been implemented is that I am not convinced it should be. I can certainly BE convinced, but here’s a scenario for you and the file exchange community to puzzle over:

data = 0.1;
roundvals = [-10, 5, 10];

The result of using a ‘fix’ method here would be for the data to be rounded away from zero, to 5.0, which is a bit counterintuitive to the user who has just typed in ‘fix!’

Within the round-to-x framework, ‘fix’ in essence serves two masters, rounding not towards zero, but rather toward the supplied value that has the smallest absolute value. I think it’s confusing, but I’d greatly appreciate thoughts on the subject. I am fully prepared to admit that there may be uses for this code behavior that I am not seeing.

Comment only
02 Mar 2015 A GUI about medicinal images segmentation with FCM or KFCM(Kernelled FCM) Just as a GUI example Author: Genial Rong

Genial Rong (view profile)

Priya Sharda

1
02 Mar 2015 FingerPrint Matching: A simple approach A simple fingerprint matching method Author: Vahid K. Alilou

Vahid K. Alilou (view profile)

Derman

Derman (view profile)

Thank you for your code!
Can I ask the paper you referred to for your matching algorithm? Especially the rotation matrix part of your 'transform.m' and 'transform2.m' functions. Thank you again.

Comment only
02 Mar 2015 allregress(y,X,criteria) All possible regressions of y on X, selecting the best model by a means of selection criteria Author: Shen Liu

Shen Liu (view profile)

Bjorn Gustavsson

The expressions used for BIC and AIC seems faulty. The definitions of BIC and AIC both contain log(L) which for normal-distributed noise becommes proportional to the sum of the squared residuals. In the expressions used there is another logarithm applied. See for example:
http://en.wikipedia.org/wiki/Akaike_information_criterion

Comment only
02 Mar 2015 TSK Forecasting A fuzzy neural network for forecasting time series Author: Dmitrii Levin ali rezghi

1
02 Mar 2015 UIINSPECT - display methods, properties & callbacks of an object Inspect an object handle (Java/COM/HG); display its methods/properties/callbacks in a unified window Author: Yair Altman

Yair Altman (view profile)

Yair Altman

Yair Altman (view profile)

@Mark - I just uploaded a fix that should solve this problem for R2014a and earlier Matlab releases (it was already ok for R2014b and later).

Comment only
02 Mar 2015 UIINSPECT - display methods, properties & callbacks of an object Inspect an object handle (Java/COM/HG); display its methods/properties/callbacks in a unified window Author: Yair Altman

Yair Altman (view profile)

Yair Altman

Yair Altman (view profile)

@Mark - I just uploaded a fix that should solve this problem for R2014a and earlier Matlab releases (it was already ok for R2014b and later).

Comment only

Contact us