{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

problem2 - end end toc t tic y=sin(x toc clear x y;

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
x=rand(4000,3000); y=zeros(size(x)); tic; t for i=1:4000 for j=1:3000 y(i,j)=sin(x(i,j));
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: end end toc t tic; y=sin(x); toc clear x y;...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online