bme_lab_4_part2(2)

bme_lab_4_part2(2) - y(i,j = bme_lab_4_part2(RBCA(i,RBCB(j...

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

View Full Document Right Arrow Icon
y= ones(11,11); % to generate an 11 by 11 matrix to store the results of the function RBCA = (0:0.08:0.8); % 11 values of RBCA between 0 and 0.8 RBCB = (0:0.06:0.6); % 11 values of RBCB between 0 and 0.6 for i = 1:11, % loop instruction, repeat the same instructions 11 times for j = 1:11, % loop instruction, repeat the same instructions 11 times
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: y(i,j) = bme_lab_4_part2(RBCA(i),RBCB(j)); % solve system using function and store in matrix y end % end of j loop end % end of i loop mesh(RBCA,RBCB,y) % 3D plot xlabel('RBCA') % labels ylabel('RBCB'); zlabel('RBC content of transfusion pack');...
View Full Document

This note was uploaded on 09/15/2011 for the course EE 150 at USC.

Ask a homework question - tutors are online