Doubts regarding MATLAB Fundamentals-self paced Course Topic
18 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Deepak
2024-7-16
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 –
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!