Feeds
已回答
write a function called tri_area returns the area of a triangle with base b and height h
function area = tri_area(b,h) area = (b*h)/2 end
write a function called tri_area returns the area of a triangle with base b and height h
function area = tri_area(b,h) area = (b*h)/2 end
5 years 前 | 1
已回答
A basic question of matrix indexing can't get a proper output
A = [1:5; 6:10; 11:15; 16:20]; v= A(:,2) A(end,:)= 0
A basic question of matrix indexing can't get a proper output
A = [1:5; 6:10; 11:15; 16:20]; v= A(:,2) A(end,:)= 0
5 years 前 | 0