AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
How to make a matrix in matlab11/7/2023 If we put square root operation in MatLab command window ( sqrt ( -1 ) ) then it gives output as 0.0000 + 1.0000 i. Real parts and imaginary parts are generally used to represent imaginary parts ‘ I ’ and ‘ j ’ variables. Inside the brackets, 4 means four rows, and 1 is a number of a column.Ī=ones(2,3) … … … Two rows and three columns.Ĭoncatenation is used to join two matrices, and square brackets are used for the concatenation operator.Ĭomplex numbers are a mixture of two parts. Another way to create a matrix is by using the commands zeros, ones, etc.Screen 1 shows the formation of a matrix that illustrates the above example.
0 Comments
Read More
Leave a Reply. |