<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">

Exported from Notepad++
clc; clear all; close all; % declaring random matrix a=rand(3,4); [m n]=size(a); for i=1:m for j=1:n disp(a(i,j)); end end