image thumbnail

Code of Grey Relational Analysis

version 1.0.0 (73.8 KB) by Ariunbolor Purvee
Code was created to normalize values of S/N ratios, to calculate the weighted Grey relational coefficient, grade, and rank


Updated 06 Aug 2020

View License

The Grey Relational Analysis is a method to study the design and analysis of experiments for improving product quality if the parameters optimized are more than two. There are three types of loss functions: 1) “the nominal the best; “the smaller the better;” and “the larger the better.” These loss functions also are used in the Grey Relational Analysis. The quality characteristic “the nominal the best,” occurs whenever the output ‘y’ has a finite target value, usually nonzero, and the quality loss is symmetric on either side of the target. The smallest of the best of the loss function is used in this study because the targets, such as the nameplate parameters, are given. So, this particular loss function is used to optimize the input parameters to make the minimum difference between outputs and targets and to improve the shape of the time domain of output parameters of the dynamic simulation model of a squirrel-cage induction motor that has been developed by Ariunbolor Purvee.
The six parameters were selected because they have the greatest influence on the motor outputs compared to other input parameters. In addition, these parameters were selected because they are capable of being varied within +/-10%, while still obtaining outputs that are almost at the value of the targets.

Cite As

Ariunbolor Purvee (2022). Code of Grey Relational Analysis (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!