blob: 1c980595b9ae7e067179cd769b0d41995bbc7a83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Chapter 9 example 16
//------------------------------------------------------------------------------
clc;
clear;
// Given Data from Figure triagle OAB
OA = 100 // in Km
OB = OA*cos(60*%pi/180); // Range of Target 2
// Output
mprintf('Range of Target-2 = %d Km\n Azimuth angle of target-1 = 60°\n Azimuth angle of Target-2 = 120°',OB);
//------------------------------------------------------------------------------
|