Matlab Create Table From Array Python Questions For If Statement