matlab

profilesuli1993

Matlab project using these codes only:

 

%usable

%menu

%combinator(7,5,'c')

%example: if isempty(find(sum(test_card'==used')==2==1)) this means we did

%not use card

%else

%end

%isempty

%repmat

%input

%output

%function

%randi

%loops

%subplot(1,2,1)

%card=[5 2];

%example: J= [num2str(card(1)) '-' num2str(card(2)) '.jpg']

%imshow(J) (this replaces subplot)

%subplot(1,2,2)

%imshow('4-2.jpg')

%string

%num2str

%plot

%subplot

%hold all

%axis

%fprintf

%xlabel

%ylabel

%title

%==

%unique

%find

%disp

%clc

%clear

%strings

%choice

%royal flush has to have: same suit, ace queen king jack 10: if

%length(unique(hand))==5 length(unique(suithand)))==1 &&

%sum(sort(hand)==[1 10 11 12 13])==5

%sort

 

%importdata

 

I will send you the pictures of the cards later when we make a deal. 

Please, only these codes are allowed. If you have to use some other code let me know first before you continue with project.

 

 

  • 11 years ago
  • 40
Answer(0)
Bids(0)