set mat-select value code example
Example 1: get value onChange from mat-select angular
<mat-select (selectionChange)="doSomething($event)">
Example 2: select in mat-option
<mat-select [(value)]="selected2">
<mat-select (selectionChange)="doSomething($event)">
<mat-select [(value)]="selected2">