Rank: 524 based on 273 downloads (last 30 days) and 18 files submitted
photo

Rasmus Anthin

E-mail

Personal Profile:

I'm a student of electrical engineering (civ.) at Chalmers University of Technology. I started there 1998.
Space environment and rocket science are my two favourite subjects.

http://www.etek.chalmers.se/~e8rasmus


 

Watch this Author's files

 

Files Posted by Rasmus Anthin View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Jul 2005 Screenshot blackjack.m Blackjack 5.1 is a basic 6 deck blackjack game (no splitting). Author: Rasmus Anthin games, blackjack, card games, cardplot, playing cards toolbox 20 1
  • 4.5
4.5 | 2 ratings
05 Jul 2005 Screenshot Playing Cards Toolbox 1.0 Contains a card class for simple usage. Supports matrices of cards. 37 object methods. Author: Rasmus Anthin games, playing cards, card games, clubs, spades, hearts 17 1
  • 4.25
4.2 | 4 ratings
05 Jul 2005 Screenshot cardplot.m Draw/update/view cards, plot board or change mouse ptr. Hopefully useful when creating card games. Author: Rasmus Anthin games, playing cards, clubs, spades, hearts, diamonds 13 2
  • 4.5
4.5 | 2 ratings
06 Jul 2004 Screenshot Finite Element Toolbox 2.1 Piecewise linear Galerkin method with piecewise constant coeffs for static PDE probelms. Author: Rasmus Anthin differential equation..., linear, galerkin, elliptic, finite elements, fem 68 20
  • 4.05556
4.1 | 20 ratings
29 Dec 2003 rgbconv.m Convert hex color to or from MATLAB color vector. (with syntactic sugar). Author: Rasmus Anthin color, rgb, hex, hexadecimal, convert, vector 30 4
  • 3.5
3.5 | 2 ratings
Comments and Ratings on Rasmus Anthin's Files View all
Updated File Comment by Comments Rating
18 Sep 2014 rgbconv.m Convert hex color to or from MATLAB color vector. (with syntactic sugar). Author: Rasmus Anthin Jeffrey Girard

With the fix from per isakson, this works well.

29 Dec 2011 EC-SIM 1.1 Design circuits, simulate (steady-state and sweep) and define your own models. Author: Rasmus Anthin Tomás

11 Dec 2011 rgbconv.m Convert hex color to or from MATLAB color vector. (with syntactic sugar). Author: Rasmus Anthin Thomas Guillod

Nice code, was very helpful for GUI dev.

31 Jul 2011 Playing Cards Toolbox 1.0 Contains a card class for simple usage. Supports matrices of cards. 37 object methods. Author: Rasmus Anthin Jort Gemmeke

Thanks for the nice toolbox.

I have one bugfix: if you delete() a card twice, delete crashes with an error. The fix is to include a test in delete.m:

if ~isempty(c(i).h)

around the "if any..." conditional.

11 May 2011 Boolean Algebra Toolbox , ver. 2.2 Generate nbc and gray code, boolean evaluation and display truth-table. The "bool"-class for conveni Author: Rasmus Anthin Pat

Hi - don't know what might have changed between 2007, the time of the last previous post, and R2010B that I'm using but I had add the following islogical() clause to the end of bool.m

.
.
.
elseif isbool(x)
y=x;
elseif islogical(x)
y=x;
else
error('Input must be numeric.')
end

Without this change an expression such as:

(a+b)'==a'*b'

crashes.

I could correct the code (I found that Rasmus is no longer at the email address given) but I'm new to Matlab and am now sure what the protocol is.

Contact us