assignment 1 real - find(A.60); A.*(A>=B);...

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

View Full Document Right Arrow Icon
%%problem3 R=[55, 62, 60, 61, 63]; v=[54, 59, 62, 64, 68]; current= v./R; pwer= v.^2./R; %%problem1 A= [55 62 60 61 63 65 62 59 58 56]; B= [54 59 62 64 68 68 62 59 57 53]; sum(A>60);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: find(A.60); A.*(A>=B); %%problem 2 x= input ('number for x '); if x<-1 y= exp(x+1); elseif x>=5; y=10*(x-5)+1; elseif -1<=x<5; y=2+cos(pi*x); end %%problem 4...
View Full Document

This note was uploaded on 03/24/2011 for the course ENGINEERIN 127 taught by Professor Finch during the Spring '08 term at Rutgers.

Ask a homework question - tutors are online