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
EBK MATLAB: AN INTRODUCTION WITH APPLIC
- Introductory Circuit Analysis (13th Edition)Electrical EngineeringISBN:9780133923605Author:Robert L. BoylestadPublisher:PEARSONDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningProgrammable Logic ControllersElectrical EngineeringISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
- Fundamentals of Electric CircuitsElectrical EngineeringISBN:9780078028229Author:Charles K Alexander, Matthew SadikuPublisher:McGraw-Hill EducationElectric Circuits. (11th Edition)Electrical EngineeringISBN:9780134746968Author:James W. Nilsson, Susan RiedelPublisher:PEARSONEngineering ElectromagneticsElectrical EngineeringISBN:9780078028151Author:Hayt, William H. (william Hart), Jr, BUCK, John A.Publisher:Mcgraw-hill Education,