![]() The method of exporting high-quality images from MATLAB is also elaborated at the end of this chapter. Having created these colorful plots or charts using MATLAB, it is necessary to export these diagrams in high resolution in order to use them in engineering works. Three-dimensional pie charts are also included toward the end of the chapter. In addition to step-by-step instructions, all these plots are visually demonstrated with worked out MATLAB examples. Next, area plot, surface plot, pie chart, heat map, and radar map are also elaborated. Then bar plots and horizontal bar plots are explained in detail. are also explained with MATLAB commands and code. The specific features such as line markers, line width, line style, line color, axis labels, etc. The chapter begins with a description of line plots, subplots, and double-axis plots. ![]() This chapter explores the various methods of data visualization in MATLAB. After completing this chapter, the readers will be able to effortlessly use MATLAB for applications involving complex quantities. ![]() The calculation of energy and impedance in electrical systems involves the use of complex numbers and is presented at the end of this chapter as examples of solving electrical engineering problems using MATLAB. The method of finding the equilibrium point of differential equations is also demonstrated in this chapter. Discrete Fourier transform and its inverse are included with the description of the Fourier series. The multiplication and division of complex numbers are demonstrated. Then, the Euler’s series, Fourier series, and Taylor series are described in layman’s terms to help the readers get acquainted with these series as well as implement them using MATLAB. Next, the representation of complex numbers in the rectangular and polar coordinate systems is explained with graphical illustrations and worked out MATLAB examples. The discussion begins with the story of the origin of complex numbers in the sixteenth century. This chapter discusses complex numbers and their various representations and applications using MATLAB. By completing this chapter, the readers will be able to create their own functions in MATLAB and reuse those in their code. This chapter provides a complete idea about creating functions in MATLAB and how they can be used to make programs easier to code, operate, and handle. Then, the method of solving quadratic equations using the quadratic formula in a user-defined function is explained. The next major topic of this chapter is the description and demonstration of user-defined functions for summation, subtraction, multiplication, and division. The use of conditional statements (if and switch) and loops in MATLAB is also explained in this chapter. Next, the method of saving, running, and publishing scripts is delineated with worked out examples in MATLAB. The chapter begins with a description of scripts, live scripts, and their comparison, alongside the method of creating them in MATLAB. This chapter aims to familiarize readers with the MATLAB platform to write and run programs and introduce them to basic MATLAB programming and functions. After completing this chapter, the readers will be able to declare any vector, matrix, or array in MATLAB and perform any operation on them. Finally, the chapter ends with a description and demonstration of table arrays, cell arrays, and structured arrays. The chapter also includes examples on mean, mode, variance, and standard deviation, and the use of the dot operator. Afterward, the manipulation on arrays is focused upon, and the process of creating arrays of zeros, ones, and random numbers is demonstrated, followed by the discussion on the array functions for unidimensional arrays. The horizontal and vertical concatenation of matrices is also presented. The methods of creating the transpose matrix, determinant, identity matrix, and inverse matrix are also exemplified using MATLAB. The addition, subtraction, and multiplication of two matrices are shown with worked out MATLAB examples. The method of finding the dimension of a matrix is illustrated. Next, the various operations that can be performed on vectors and matrices are demonstrated with examples. First, the methods of creating vectors and matrices are described. This chapter acquaints the reader with vectors, matrices, and arrays in MATLAB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |