Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
14 May 2009 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Kenneth

Hi linreal,

That's a new one! I've never had a call to FIGURE fail like that. Had you been doing anything complicated in your MATLAB session before running Staker? I've run programs before that changed certain Java settings, which resulted in subsequent figures rendering funny. I would first try closing and restarting MATLAB.

08 Apr 2009 LINEAGE v1.1 LINEAGE helps visualize the evolution of the code throughout the Peg Solitaire contest Author: Kenneth Eaton Eaton, Kenneth

Thanks for the feedback everyone!

@Alan: Admittedly, I may have broken with the spirit of the competition slightly by creating an interactive GUI as opposed to one or more functions to be used from the command line. This obviously made it hard to make a published m-file which could generate its own images. I probably could have hijacked the GUI from the command line (setting hidden handles to visible, using FINDOBJ to get handles for the GUI components, and forcibly setting the GUI state), but this seemed kloogy an inelegant. It was easier and cleaner to capture screen shots and include the images with the submission.

08 Apr 2009 Finding the Similar Entries: A Quantitative Approach based on CPU Runtime Behavior Entry to Matlab contest Spring 2009 Author: C Jethro Lam Eaton, Kenneth

I can verify that your findings about my submissions were correct: my submissions for that contest were totally out of left field and very different from the others. I was off in my own little world trying out different codes without looking at anything anyone else was doing. =)

07 Apr 2009 LINEAGE v1.1 LINEAGE helps visualize the evolution of the code throughout the Peg Solitaire contest Author: Kenneth Eaton Eaton, Kenneth

None of my images in the published tutorial seem to be showing up. I'll try to correct it and update soon.

06 Apr 2009 meet the family Visualisation of a family tree in the programming contest. Author: Nathan Eaton, Kenneth

Interesting approach. I've been working on something similar to explore the lineage of submissions. Although my code won't find any dependencies not listed in the contest data like yours does (a nice touch, I might add), it will allow the user to compare code from different submissions.

02 Apr 2009 Some Plots Some Thoughts with Published html Includes published version of earlier file. Author: Abhisek Ukil Eaton, Kenneth

Why post a whole new entry? Wouldn't it make more sense to update your existing one, especially if all you're adding is a published html file?

31 Mar 2009 Furuta pendulum Linearization of the Furuta pendulum by john caipa Author: John Caipa Eaton, Kenneth

Warning! This is a script that clears everything in your workspace!

John, you should really write this as a function to be nicer to the user and not erase whatever else he/she may have been working on before running your script.

25 Mar 2009 Kernel Smoothing Regression A non-parametrical regression (smoothing) tool using Gaussian kernel. Author: Yi Cao Eaton, Kenneth

25 Mar 2009 Bidirectional Branch and Bound Solvers for Worst Case Loss Minimization Two branch and bound solvers using worst case loss criterion to select controlled variables. Author: Yi Cao Eaton, Kenneth

17 Mar 2009 Eigenshuffle Consistently sorted eigenvalue and eigenvector sequences Author: John D'Errico Eaton, Kenneth

Xu, I can only guess that you have very little experience with MATLAB and even less knowledge of whom you are criticizing.

13 Mar 2009 MIN2, MAX2 Global min or max value of a 2-d array, the search may be limited to specified rows or columns Author: John D'Errico Eaton, Kenneth

13 Mar 2009 Variable Precision Integer Arithmetic Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported. Author: John D'Errico Eaton, Kenneth

09 Mar 2009 CELL2STR CELL2STR converts a cell array of strings into a character array. Author: Daniel Claxton Eaton, Kenneth

How is this different from the following?...

>> str = {'this' 'is' 'a' 'test' 'of' 'cell' '2' 'str'};
>> char(str)

ans =

this
is
a
test
of
cell
2
str

09 Mar 2009 ACCELERA Kg = 1 / Kg Author: M P Eaton, Kenneth

Well, Marco, I guess neither you nor Alexia nor "C" were paying any attention over a week ago when I tried to teach you how units work. You should all review my comments on your MOV submission.

04 Mar 2009 hs: a pedestrian history search engine hs searches the command history for patterns Author: us Eaton, Kenneth

02 Mar 2009 pigeon.m Draw a 3D pigeon. Author: Husam Aldahiyat Eaton, Kenneth

That must be one of those American pigeons, seeing as how it's so obese! =) Cute function, though.

27 Feb 2009 MOV Physics Movement Author: M P Eaton, Kenneth

Marco, there are SOOOOO many things that are wrong with the statements you have made here I don't even know where to begin. I guess I'll start with a few simple things:

THE SPEED OF LIGHT IS FINITE!

This is a universal fact. A bunch of scientists didn't get together years ago and say "Hey, let's just define the speed of light as a finite value!" The speed of light is not subjectively chosen, it is not an opinion, it is not a "community-reference"... it is a known truth of the universe we live in. Just because you can "think to" something doesn't make it true. The universe doesn't magically transform itself into whatever you imagine. You make yourself look foolish by continuously trying to suggest that the speed of light is infinite. What evidence do you base this on? Can you site even one scientific paper to back you up? If the only defense you have is "I can think it up, so it must be possible", then you are fooling yourself.

You constantly use terminology and concepts that are totally foreign to everyone in the scientific community. For instance, no one knows what you mean by "image way", "voice way", etc. You have never defined what these abstract concepts are that you have thought up. Why should we pay any attention to what you say if you don't try to meet us halfway by speaking in well-defined terms?

It is a pointless and childish endeavor to try and arbitrarily redefine standards and universal facts to suit your own personal theories. What you propose is not science, or logic, or math, or physics... it is pure fantasy.

...and by the way, EVERY time you say something like "1 Newton equals 10 Newtons", it is wrong... always, forever, every single time. There is never a situation when it isn't wrong. Even in your imagination, it's still wrong. Logic dictates that this is so.

26 Feb 2009 MOV Physics Movement Author: M P Eaton, Kenneth

If you are using "s" as a variable, then the formula s=s^2 is true when s=0 or when s=1. But if you are using s as a UNIT OF MEASURE representing "seconds", then your formula is wrong. You need to understand that there is a difference between the "number" of things you have and the "units" of things. 1 second or 1 kilogram or 1 Newton are all 1 of "something", but that doesn't mean that those UNITS are all equal. The following equation is true:

1 = 1

...because there are no units. However, if I add the following units:

1 second = 1 kilogram

...the equation is now WRONG. The units on either side of the equal sign for any formula must agree. For example, this formula is correct:

1 Newton = 1 kilogram*meter/second^2

...because that is what a Newton is defined as. However, this formula is wrong:

1 Newton = 10 kilogram*meter/second^2

because 1 Newton can't equal 10 Newtons. You have to pay attention to your units!

26 Feb 2009 MOV Physics Movement Author: M P Eaton, Kenneth

Marco, I did "think to your words", and I found them to be logically and algebraically false. Your response has not convinced me otherwise.

26 Feb 2009 MOV Physics Movement Author: M P Eaton, Kenneth

Marco, of all the equations you've written above, not a single one of them is correct.

First, a measure of time (seconds) is not equal to a measure of mass (kilograms). They are completely different units.

Second, you have used the term "Weight" when you should have used the term "Mass".

Third, you have written these two equations for Force:

Force = Weight*Altitude/Time^2
Force = Time/(Weight*Altitude)

Setting these equations equal to each other yields:

Weight^2 = Time^3/Altitude^2

...which is utterly meaningless. If you substitute the second equation into the first equation, it yields:

Force^2 = 1/Time

...which implies that the square of a force somehow gives you a measure of frequency. Again, utterly meaningless.

Fourth, your math contradicts itself. You say that [s = Kg] twice, but then later say that [s^2 = Kg]. Well, which is it? It can't be both!

Please review some physics references before posting more patently false statements.

24 Feb 2009 Bouncing Smiley Face Exaggerated and somewhat cartoonish simulation of the physics of a bouncing smiley face. Author: Husam Aldahiyat Eaton, Kenneth

One solution to the dependence on the Image Processing Toolbox... you could plot a square surface object, then texture map the smiley-face image onto it. Then you can simply rotate the surface object yourself, without a need for the IPT.

11 Feb 2009 Bouncing Ball Physics Fun Graphical User Interface that simulates the simplified physics of a ball bouncing off the ground Author: Husam Aldahiyat Eaton, Kenneth

Marco, I'll repeat what Husam told you, because I just tried the code myself. The default values (gravity set to 9.81, the initial vertical velocity set to 0, and the initial horizontal velocity set to 500) cause the ball to fall downward and rightward, bouncing a few times before coming to rest on the ground. If you don't get this result, check your version of MATLAB. I'm running 7.1 and didn't see any animation problems.

09 Feb 2009 Tetris for Dummies Tetris with easy code layout and extensive comments. Author: Husam Aldahiyat Eaton, Kenneth

@Niye: As John D'Errico (a well-respected and trusted individual on this site) has already stated, this submission is not a copy of Pascal's. Granted, it is the same game, but written and designed in a different way. If you have specific arguments why the other is better, then by all means make them. But simply implying plagiarism is inappropriate.

29 Jan 2009 MATLAB Earthquake Randomly Vibrates Graphical Objects Author: Husam Aldahiyat Eaton, Kenneth

Looks interesting... I'll give it a try when I get a chance. I've had the idea for a while to make something similar, not for uicontrols, but for the camera or the axes to shake the rendered camera view. I eventually want to add it to my game whenever an explosion goes off.

22 Dec 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Kenneth

I've submitted an updated beta version of Staker that should be available within the next day or so (v0.6). This version should run independently from the Image Processing Toolbox, so anyone who only has access to core MATLAB functions should be able to play!

Ken

20 Dec 2008 YESNO let user choose between yes or no Author: Jos Eaton, Kenneth

@Marco,

The utility of this program should be very clear. I don't know why you are unable to understand it. This function allows you to pause a running program to wait for a yes ('y' press) or no ('n' press) keyboard input from the user. The example Jos gives in his description shows one possible use for it: the piece of code above generates a random number every time the user chooses 'y', and stops when they choose 'n'.

Your comment makes absolutely no sense. Yet again, it appears that you have somehow missed the point and are trying to punish the author with a bad rating even though it is you who has misinterpreted things. Your mention of a "half instant" and a "mechanic instant" is gibberish. Your review is quite poor.

19 Dec 2008 inpaint_nans Interpolates (& extrapolates) NaN elements in a 2d array. Author: John D'Errico Eaton, Kenneth

@Marco,

If you want more specific information about the methods than what is in the help documentation, you would have to either delve into the code itself or have John explain it to you.

Also, the word "lies" is a conjugation of the verb "to lay", not a noun meaning "falsehoods". To rewrite my statement in another way: "...the misunderstanding is a result of your own misinterpretation."

19 Dec 2008 inpaint_nans Interpolates (& extrapolates) NaN elements in a 2d array. Author: John D'Errico Eaton, Kenneth

@Marco,

You appear to have completely missed the point of this function. It is designed to REMOVE NaNs appearing in a matrix, overwriting those values with interpolated values obtained from neighboring entries. You seem to think that John is arbitrarily redefining what NaN is... he is not, because that would be a silly waste of time. The numbers he computes to REPLACE the NaNs are approximated from the surrounding values with a number of different methods.

As far as some of the errors you got, John could probably place error checks in the function to allow for a more graceful and informative exit. However, there's no reason you would/should ever enter some of those arguments in the first place. For example, entering a scalar NaN is silly, since the program has no nearby non-NaN elements to use for extrapolating replacement values.

This submission certainly doesn't deserve the low rating you gave it, especially since the misunderstanding lies with your own misinterpretation of what it does.

17 Dec 2008 CUBE A 3D spacetime with perception in the reference-half. Author: M P Eaton, Kenneth

16 Dec 2008 inpaint_nans Interpolates (& extrapolates) NaN elements in a 2d array. Author: John D'Errico Eaton, Kenneth

15 Dec 2008 Minimum Radius Bounding Sphere Minimum radius bounding sphere around a 3d set of points Author: John D'Errico Eaton, Kenneth

15 Dec 2008 NDellipse Returns coordinates of 2d ellipsoids Author: Sebastien Paris Eaton, Kenneth

15 Dec 2008 Analyze FEX download data (with the aid of MySQL) Author: Dimitri Shvorob Eaton, Kenneth

15 Dec 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Kenneth

===ANNOUNCEMENT===

As pointed out in the previous couple of comments, Staker (beta) requires the Image Processing toolbox. I have been looking into some things over the weekend and think that I will actually be able to remove this dependency for the next version. It appears that many of the functions I was using (IMFILTER, IMERODE, IMDILATE, etc.) can be easily replaced by using CONV2 to do the things I want.

So, for version 1.0 (hopefully to be completed within the next few months) you won't have to worry about needing any toolboxes; just standard MATLAB.

Ken

13 Dec 2008 Estimatenoise Noise variance estimation from a signal vector or array Author: John D'Errico Eaton, Kenneth

13 Dec 2008 Doom 1.3 Fly through a 3D scene like in a first-person shooter in god mode Author: Joerg Buchholz Eaton, Kenneth

@Marco,

Did you fail to notice that this was a Pick of the Week? It would seem to make you look bad to give it such a poor rating, especially with no explanation why. John at least tried it out and had good critiques, which the author then incorporated into his code (to his credit).

12 Dec 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Kenneth

Hi Guillermo,

Most likely, you do not have the Image Processing toolbox, which is where FSPECIAL is from. I required some of the functions from the IP toolbox to do a number of things, like generate texture maps for the terrain. Unfortunately, some have found this to be a limitation, since not everyone has access to the IP toolbox. I have been considering writing my own versions of the IP functions I need, although I imagine they may not be as fast as those in the IP toolbox. I probably won't do this for the next version (v1.0) I release, but maybe for versions after that. For now, the IP toolbox is required. Sorry if this is an inconvenience.

Ken

25 Nov 2008 maxima and minima M-files for obtaining extreme points is a set of data Author: aasim Azooz Eaton, Kenneth

The number of downloads is not a real measure of the QUALITY of the submission, merely the amount of CURIOSITY users have regarding your submission. Remember, many people can't help but stare at a car wreck.

You should heed the advice of the other commenters. Your statement that "comments do more harm than good" is incredibly foolish. You should look at how typical MATLAB files are written and modify your submission accordingly.

05 Nov 2008 Thirteeeeeeeeeen Game-simulation of the italian-sunday-bet Author: M P Eaton, Kenneth

And using vectors of function handles you could even sidestep using a case statement under certain conditions:

numVector = [1 2 5 20 301];
fcnVector = {@fcn1, @fcn2, @fcn3, @fcn4, @fcn5};
index = (num == numVector);
if any(index),
  fcnVector{index}();
end

03 Nov 2008 CUBE_OF_RUBIK an explanatory strategy of the Rubik’s cube Author: M P Eaton, Kenneth

There is already a Rubik's cube program on the FEX. It has been there for years, and it is substantially better than this submission:

http://www.mathworks.com/matlabcentral/fileexchange/8461

30 Oct 2008 The divisors of a number, perfect, amicable, and sociable numbers Tools to work (and play) with the divisors of a number Author: John D'Errico Eaton, Kenneth

Very interesting, even if it was written purely for fun.

30 Oct 2008 find_components finds the connected components of an image Author: Tim Davis Eaton, Kenneth

I hadn't ever happened upon DMPERM before. Thanks for pointing out something new, Tim.

28 Oct 2008 Thirteeeeeeeeeen Game-simulation of the italian-sunday-bet Author: M P Eaton, Kenneth

Marco, It's great that you're learning about the set, get, and struct functions, but why do you feel the need to post a new trivial submission for every new "concept" you come across? You don't have to post every single thing you do in MATLAB to the FEX. You should try and refine the quality of these submissions before hastily posting them.

For starters, you've clearly displayed naive programming by giving this function such a difficult to remember name. Thirteen with 10 E's??? Don't you realize how a potential user of this code might find it difficult to remember how many E's to type when calling this function? It's like naming a file "stuuuuuuuuuuuuuuuuuuuupid.m" or "fcn1000000000000.m"... see how hard those are to read/remember?

22 Oct 2008 File Exchange 2.0: Find a File Finding good files will (hopefully) be a lot easier with the new File Exchange. Author: Helen Chen Eaton, Kenneth

I use RealPlayer and had to download and install the ICM.tscc codec to view this. After a google search I came across this page:

http://answers.yahoo.com/question/index?qid=20070517225319AA9A7Co

download and install this codec and it should work.

 

MATLAB Central Terms of Use

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 Terms prior to use.

Contact us at files@mathworks.com