Matlab not returning variable as intended

Printable View