Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Vectors and Matrices

Nonscalar values

Topics

How Vectors and Matrices Work in C Charts

Describes how vectors and matrices work in Stateflow® charts

Define Vectors and Matrices

Describes how to define and initialize vectors and matrices

Assign and Access Vector and Matrix Values

Describes how to assign and access values of elements in vectors and matrices in C charts

Rules for Vectors and Matrices in C Charts

Provides rules for using vectors and matrices in C charts

Scalar Expansion for Converting Scalars to Nonscalars

Explains how scalar expansion works and how the rules apply for function calls

Operations For Vectors and Matrices in C Charts

Describes the operations you can perform on vector and matrix operands

Best Practices for Vectors and Matrices in C Charts

Gives tips for using vectors and matrices in C charts

Find Pattern in Data Transmission Using Vectors

The model sf_frame_sync_controller is an example of using a vector in a C chart to find a fixed pattern in a data transmission.

Calculate Motion Using Matrices

The model sf_pool is an example of using matrices in a C chart to simulate the opening shot on a pool table.

Was this topic helpful?