how to create this matrix?
can anyone help me to construct this matrix
blj=(-2)^j-l if lj
NOTE:-
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
I think it would look something like this…
iLength = 5; %rows
jLength = 7; %cols
b=zeros(iLength, jLength);for i = 1:iLength
for j = 1:jLength
if i == j; b(i,j) = 1; end
if i < j; b(i,j) = (-2)^(j-i); end
end
enddisp(b)
gives a result of:
SEE COMPLETE ANSWER CLICK THE LINK