Cory's Site

Conglomeration of my Work. Find inspiration in the truths that guide our world!

HW0-ENGS105

HW0 focuses around matrix operations in Fortran and MATLAB.

A data file is read into Fortran 95 and is named matrix A (dimensions are 1200 by 6). Matrix B is then defined as the operation B=A’A where A’ is the transpose of matrix A. Matrix C is then defined as C=AA’.  The diagonals of both matrices are then isolated and values are plotted below.  Data for the third row was also plotted to make sure results are comparable.

For matrix A, here a some defining matrix parameters:

Mean-Squared value:      6.763132E-006

Min Value:                         4.41727E-009

Max Value:                       2.99017E-002

The following are values that defined certain aspects of the matrices (such as symmetry and min/max):

meanB =0
rmsB =0
maxB=0
normRmsB=0
normMaxB=0
thirdRowB =
    0.0000    0.0000    0.0043    0.0007    0.0012    0.0012
secondsubB =
    0.0000    0.0000    0.0012    0.0007    0.0000    0.0000
meanC = 0
rmsC =0
maxC = 0
normRmsC = 0
normMaxC = 0

1200 elements is too much to display for diagonal and row of Matrix C, reference.dat files for element values

Plots for Matrix B calculations:

Plots for Matrix C calculations:

 

 

Hello world!

Welcome to Dartmouth Sites. This is your first post. Edit or delete it, then start blogging!

Test 1

 

 

© 2018 Cory's Site

Theme by Anders NorenUp ↑