Université de Mascara- 3 Informatique
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.

Université de Mascara- 3 Informatique

Forum réalisé par Mr MEFTAH B.
 
AccueilRechercherDernières imagesS'enregistrerConnexion
Le Deal du moment :
Funko POP! Jumbo One Piece Kaido Dragon Form : ...
Voir le deal

 

 création d'une matrice en matlab

Aller en bas 
2 participants
AuteurMessage
abden sofiane

abden sofiane


Nombre de messages : 19
Date d'inscription : 08/12/2007

création d'une matrice en matlab Empty
MessageSujet: création d'une matrice en matlab   création d'une matrice en matlab Icon_minitimeMer 12 Déc - 18:06

Entering MatricesThe best way for you to get started with MATLAB is to learn how to handle matrices. Start MATLAB and follow along with each example. You can enter matrices into MATLAB in several different ways: Enter an explicit list of elements. Load matrices from external data files. Generate matrices using built-in functions. Create matrices with your own functions in M-files. Start by entering Dürer's matrix as a list of its elements.
You only have to follow a few basic conventions:
Separate the elements of a row with blanks or commas.
Use a semicolon, ; , to indicate the end of each row.
Surround the entire list of elements with square brackets, [ ].
To enter Dürer's matrix, simply type in the Command Window

A = [16 3 2 13; 5 10 11 8; 9 6 7 12; 4 15 14 1]
MATLAB displays the matrix you just entered.
A =
16 3 2 13
5 10 11 8
9 6 7 12
4 15 14 1
This matrix matches the numbers in the engraving. Once you have entered the matrix, it is automatically remembered in the MATLAB workspace. You can refer to it simply as A. Now that you have A in the workspace, take a look at what makes it so interesting. Why is it magic?
Revenir en haut Aller en bas
http://sh3bwah.maktoob.com/
EL hamer

EL hamer


Nombre de messages : 136
Date d'inscription : 28/10/2007

création d'une matrice en matlab Empty
MessageSujet: Re: création d'une matrice en matlab   création d'une matrice en matlab Icon_minitimeMer 12 Déc - 18:32

oh, it seems you decide to prepare your self in MATLAB huh!..
Well Thanks for this command-s anyway
Revenir en haut Aller en bas
 
création d'une matrice en matlab
Revenir en haut 
Page 1 sur 1

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Université de Mascara- 3 Informatique :: Programmation :: Matlab-
Sauter vers:  
Ne ratez plus aucun deal !
Abonnez-vous pour recevoir par notification une sélection des meilleurs deals chaque jour.
IgnorerAutoriser