Clear Filters
Clear Filters

Block Matrix coding problems

3 views (last 30 days)
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.
Someone to help me with code pls :-)

Accepted Answer

Tanisha Gosain
Tanisha Gosain on 18 Jun 2020
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];
  1 Comment
Ilias Misailidis
Ilias Misailidis on 21 Jun 2020
Hi
Really thanks you for your response. I attached only 4x4 because if I understand how it works, I will make it for 9x9. The block you have written I understand it. If I had the same number for the other 3 blocks. How I should have written it?
Really thanks again.

Sign in to comment.

More Answers (0)

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!