1 2 3 4 5 6
//test file for isreal function function test_isreal() a=10 // declare a varible and check it real or imaginary y=isreal(a) // call for isreal disp(y) // display output endfunction