Question

5. Consider This special matrix H -[hijlnxn where the entries of H is (a) Construct the matrix H for n 4 and leave all entrie

***** Use only MATLAB . Don't use "Printf" C programming

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clc
clear all
n=4;
for i=1:n
for j=1:n
H(i,j)=1/(i+j-1);
end
end
b=[1;0;0;0];
disp('Solution is')
x=H\b
disp('Determinant is');
det(H)
H=round(H*(10^4))/(10^4);
disp('Part b');
disp('Solution is')
x=H\b
disp('Determinant is');
det(H)

MATLAB R2018a HOME EDITOR Search Documentation Log In Find Files Compare ▼ Print Run Section New Open Save Advance Run and Fi

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
***** Use only MATLAB . Don't use "Printf" C programming 5. Consider This special matrix H...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT