Block Matrix coding problems
3 次查看(过去 30 天)
显示 更早的评论
Hi my name is Ilias and i am new entry to Matlab. I am trying to make a block matrix 9x9 like foto for my homework to university and nothing happened with code.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/314153/image.png)
Someone to help me with code pls :-)
0 个评论
采纳的回答
Tanisha Gosain
2020-6-18
The photo you have attached will make a 4x4 matrix and not a 9x9 matrix.
You can make a 4x4 matrix (assuming arguments to trigonometric functions are in degrees) by:
Asub = [sind(90) cosd(60); cosd(40) cosd(30)];
A = [Asub Asub; Asub Asub];
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!