g054x15 - %of the third row of B ub=b(3,:)' %...

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

View Full Document Right Arrow Icon
delete g054x15.txt; diary g054x15.txt clear; clc; close all; echo on % % Gilat 54/15 % % Create the Matrix B b= [15 12 9 6 3; 2 4 6 8 10; 6 12 18 24 30] %(a)Create a six element column vector named ua that contains the elements of the %second and third row. ua=[b(:,2);b(:,4)] %(b)Create a five element column vector named ub that contains the elemnts
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %of the third row of B ub=b(3,:)' % uc=[b(:,2);b(:,4);b(:,5)]' % ud=[b(:,1)',b(1,:)] x = linspace(-15,15); y = sin(x) ./ x; plot(x,y); grid on xlabel('x'); ylabel('y') title('Gilat 0/0') axis([-15 15 -0.5 1.5]) % echo off; diary off...
View Full Document

This note was uploaded on 06/18/2009 for the course MATH 151 taught by Professor Artbelmonte during the Spring '06 term at Texas A&M.

Ask a homework question - tutors are online