---
# System prepended metadata

title: Matlab Project 3

---

# Matlab Project 3 
## 4084100046 龔鈺閎
### Q1.
![](https://i.imgur.com/VXVmI45.png)
![](https://i.imgur.com/YaNQh9Y.png)
![](https://i.imgur.com/ChqKaBo.png)
![](https://i.imgur.com/foxfP6U.png)
![](https://i.imgur.com/FUSwZgS.png)
### Q2.
#### V represents the eigenvectors, and Q represents the eigenvalues.
![](https://i.imgur.com/BhuKH5k.png)
![](https://i.imgur.com/wbhbOCO.png)
![](https://i.imgur.com/hKRcL00.png)
![](https://i.imgur.com/kQIWqGc.png)
![](https://i.imgur.com/G1LZtZq.png)
![](https://i.imgur.com/xhBd0VG.png)
### Q3.
According to the tic toc consequence, the third one (Direct method) is much faster than the second one (For loop method). Becouse the comopiler of MATLAB is optimized.
![](https://i.imgur.com/TM1q6Rn.png)


My method to compute the A^100 is to use a for loop to calculate A * A for 100 times.
