EBK MATLAB: AN INTRODUCTION WITH APPLIC
EBK MATLAB: AN INTRODUCTION WITH APPLIC
5th Edition
ISBN: 8220102007642
Author: GILAT
Publisher: YUZU
bartleby

Concept explainers

bartleby

Videos

Question
Book Icon
Chapter 2, Problem 1P
To determine

To create:

A row vector with the following elements: 8,104,12×1.4,51,tan85°,26 and 0.15.

Expert Solution & Answer
Check Mark

Answer to Problem 1P

Solution:

The created row vector is:

Row=[8.0000 2.5000 16.8000 51.0000 11.4301 5.0990 0.1500]

Explanation of Solution

The given row vector contains following elements: 9,1,32,7/4,0,2.25×8.5,0.8 and sin(π/8).

Simplify the given row vectoras:

8=8104=2.512×1.4=16.851=51

tan85°=11.430126=5.09900.15=0.15

Hence, the created row vector is:

Row=[8.0000 2.5000 16.8000 51.0000 11.4301 5.0990 0.1500]

Write the MATLAB script that creates a row vector with the following elements: 8,104,12×1.4,51,tan85°,26 and 0.15.

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: 8,104,12×1.4,51,tan85°,26 and 0.15.

Result:

EBK MATLAB: AN INTRODUCTION WITH APPLIC, Chapter 2, Problem 1P

Conclusion:

Therefore, the created row vector is:

Row=[8.0000 2.5000 16.8000 51.0000 11.4301 5.0990 0.1500].

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!

Chapter 2 Solutions

EBK MATLAB: AN INTRODUCTION WITH APPLIC

Knowledge Booster
Background pattern image
Electrical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Text book image
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Text book image
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Text book image
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Text book image
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,
How to find the magnitude and direction of a given vector; Author: Brian McLogan;https://www.youtube.com/watch?v=4qE-ZrR_NxI;License: Standard YouTube License, CC-BY
Linear Algebra for Computer Scientists. 2. Magnitude of a Vector; Author: Computer Science;https://www.youtube.com/watch?v=ElnuSJyUdR4;License: Standard YouTube License, CC-BY