Concept explainers
To create:
A row
Answer to Problem 1P
Solution:
The created row vector is:
Explanation of Solution
The given row vector contains following elements:
Simplify the given row vectoras:
Hence, the created row vector is:
Write the MATLAB script that creates a row vector with the following elements:
MATLAB Code:
%MATLAB code to create a row vector a.
a_row = [8 10/4 12*1.4 51 tand(85) sqrt(26) 0.15]
Save the MATLAB script with the name, chapter2_29864_2_1P.m in the current folder. Execute the script by typing the script name at the command window to get the answer for a row vector with the following elements:
Result:
Conclusion:
Therefore, the created row vector is:
Want to see more full solutions like this?
Chapter 2 Solutions
MATLAB: An Introduction with Applications
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman