Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a MATLAB script that takes as input an angle B and the components of a position vector in frame A (i.e., 74). The transformation

image text in transcribed

Write a MATLAB script that takes as input an angle B and the components of a position vector in frame A (i.e., 74). The transformation from frame A to frame B is a rotation about the 1-axis. Your code should calculate the DCM CAB, and the components of the vector in frame B (i.e., FB). It should output all of the following, including a label for each item: B, CAB, FA, and FB and appropriate units (radians, degrees, meters, km, etc.). (8,225) Use these input values: = 0.45 rad. and FA = {1,669 (km) (521.7) Include a copy of all your m-files and outputs. Keep these functions and scripts since you will need them for future assignments. Write a MATLAB script that takes as input an angle B and the components of a position vector in frame A (i.e., 74). The transformation from frame A to frame B is a rotation about the 1-axis. Your code should calculate the DCM CAB, and the components of the vector in frame B (i.e., FB). It should output all of the following, including a label for each item: B, CAB, FA, and FB and appropriate units (radians, degrees, meters, km, etc.). (8,225) Use these input values: = 0.45 rad. and FA = {1,669 (km) (521.7) Include a copy of all your m-files and outputs. Keep these functions and scripts since you will need them for future assignments

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How To Build A Million Dollar Database

Authors: Michelle Bergquist

1st Edition

0615246842, 978-0615246840

More Books

Students also viewed these Databases questions