MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guia do Utilizador Página 390

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 674
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 389
1 2 ... 385 386 387 388 389 390 391 392 393 394 395 ... 673 674

Comentários a estes Manuais

Sem comentários