MATLAB BUILDER EX 1 Guide de l'utilisateur Page 54

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 182
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 53
4 Usage Examples
4-2
Magic Square Examples
The M-file mymagic takes a single input, an integer, and creates a magic square
of that size.
The Excel file
mymagic.xls uses this function in three different ways:
The first illustration calls the function mymagic with a value of 4. The
function returns a magic square of size 4 and populates a range of Excel cells
with that magic square.
The second illustration uses the transpose flag to transpose a magic square
of size 4.
The third illustration resizes the output to a higher value and moves its
location within the Excel worksheet.
Note To get started, copy the distributed directory xlmagic from
<matlab>\toolbox\matlabxl\examples\xlmagic to <matlab>\work.
Vue de la page 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 181 182

Commentaires sur ces manuels

Pas de commentaire