MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guía de usuario Pagina 390

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 674
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 389
18 Coverage Collection During Simulation
18-24
The coordinates for the origin of the moving test rectangle are represented by persistent
data x1 and y1, which are both initialized to -1. For the first sample, x1 and y1 both
increase to 0. From then on, the progression of rectangle arguments during simulation is
as shown in the following graphic.
Stationary
rectangle
Test
rectangles
The fixed rectangle is shown in bold with a lower-left origin of (2,4) and a width and
height of 2. At time t = 0, the first test rectangle has an origin of (0,0) and a width
and height of 2. For each succeeding sample, the origin of the test rectangle increments
by (1,1). The rectangles at sample times t = 2, 3, and 4 intersect with the test
rectangle.
Vista de pagina 389
1 2 ... 385 386 387 388 389 390 391 392 393 394 395 ... 673 674

Comentarios a estos manuales

Sin comentarios