File ID: 85913
cardplot.m 1.0 Description
Description: Rev 2005-06-16
To simplify the developement of card games (IMHO), you can instead use the card class provided by the Playing Cards Toolbox.
%%%%%%%%%% snip %%%%%%%%
CARDPLOT Plot playing cards for card games.
[H,X1,Y1] = CARDPLOT(X0,Y0,CSIZE,VALUE,SUIT)
draws a card.
changes the card with handles in vector H.
BORDER = CARDPLOT(X0,Y0,CSIZE) returns the border of a card at (X0,Y0).
[VALUE,SUIT] = CARDPLOT(H)
shows VALUE and SUIT for a card given by the handle vector H.
changes the mouse pointer over the current figure (GCF)
to look like a playing card of value VALUE and suit SUIT.
Convenient for moving cards with the mouse (see demo).
same as above but for the specified figure handle HFIG.
creates a board with color COLOR with dimensions DIM on
the current axes (GCA).
shows a demonstration on how to use this application.
%%%%%%%%%% snip %%%%%%%%
Don't forget to run "CARDPLOT DEMO" first to see how cardplot can be used!
This function is created using Matlab 5.1.
More stuff can be downloaded from:
Related: creates, cardplotdimcolor, Board, Color, Dimensions, cardplothfigvaluesuit, current, Pointer, figure, moving, Convenient, demonstration, Application, matlab, created
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 30.7 KB
|More Similar Code|
This program performs a Magic Game using playing cards. It tries to detect the secret card that is in your mind. You choose a certain card from a group of six cards. You concentrate on it for five seconds after that you press (Enter) key. The cards disappear and then they are displayed again WITHOUT the card that is in your mind.
Special Thanks to (Rasmus Anthin)for the cardplot.m function file that is used to plot the playing cards...
M-pack is a Package containing menu-implementing applets, which can build menus with different effects and features. The applets contain various parameters, which can be customized like text, image dimensions, font, size and different menu levels....
M-pack (bundle of several menu applets) is multi-platform compatible. M-pack includes a series of web-based Java menu programs (mimbounce, mimdesc, mimring, treemenu, textbuttongrid, iebb, jam, mselight, msetint, msetwirl, mseconvex) that can be...
m-phorum is a simple discussion board that is based on PHP and MYSQL data base.This board contains forums to post topics for online discussions and also avails spaces for replies given by their users for the topics posted on the board.This board...
This m-file finds the periodic ACF of all the m-sequences of length 31.In this program m-sequences of length 31 are generated and its periodic Autocorrelation function is plotted.
These files just to simulate or demo M-QAM modem in case BER, channel model, signals in t and f domain.
Overal proses from bit insertion at modulator to bit estimated in demodulator. We can see the change of signal in each block diagram.
The attached Matlab file estimate numerically the probability of error for M-array orthogonal signals and plot the graph BER for M-signals [2 to 64].
Numerical estimation is performed on the probability of error equation derived in...
It is M File for computing the rational coefficiants for HeartVI1 Simulink.
This very simple m-function computes cross spectrum, coherence and phase at the same time. The input parameters are equivalent to pwelch.n or csd.m in MATLAB and use csd.m in the singal toolbox.
It's very simple but useful for engineers.
You can rum these files by my_speech.m file, taking an value like my_speech(64, 'qam') in the command window of MATLAB.
|User Review for cardplot.m