Doubts regarding MATLAB Fundamentals-self paced Course Topic
Show older comments
sir,
In the topic of Matrix Multiplications, regarding Modeling Loons Populations, how the eleements of Population change matrix named as popChange are formed and loons population row matrix elements are also how are they formed. Can you please clarify my doubts.
Answers (1)
Deepak
on 16 Jul 2024
Hi,
The matrix “popChange” is a 4x4 matrix, created using the matrix notation in MATLAB.The entire matrix is specified within square brackets [ ], and rows are separated by semicolons (;) –
popChange = [0 0 0 .145;
.6 .375 0 0;
0 .225 .56 .05;
0 0 .35 .86];
The array “loons” is a column vector, created using the column vector notation in MATLAB. The elements of the vector are specified within square brackets [ ] and it can be created by taking transpose of a row vector with the help of (‘) notation.
loons = [41 61 52 62]';
The elements of the matrix “popChange” and column vector “looms” is sample data .
Attaching the documentation of Matrices and Arrays for reference –
1 Comment
Pranav Illinda
on 19 Jul 2024
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!