for I=1:4 summation = dot(h(:,1)​,q(:,I))*q​(:,I) end let h 3*3 matrix and q(:,I) vector column with 3 element I need every result of I+1 coming from sum of result I and the current result I+1

for I=1:4 summation = dot(h(:,1),q(:,I))*q(:,I) end let h 3*3 matrix and q(:,I) vector column with 3 element I need every result of I+1 coming from sum of result I and the current result I+1

2 Comments

Maha - rather than having your question title identical to the question body, why not just summarize in a handful of words what the problem is about, and save the body to explain (in some detail) what your code is attempting to do, what the problem is, what the errors are, etc.?
Also, please format your code: highlight it, and press the {} Code button.
I need matlab code that provides dot products of two column vector multiple by colum vector ..in every iteration the current iteration coming from suming of previous results and the current I need to programming the QR factrozition problem

Sign in to comment.

Answers (0)

Categories

Asked:

on 27 Dec 2014

Commented:

on 27 Dec 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!