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

1 Ansicht (letzte 30 Tage)
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 Kommentare
Geoff Hayes
Geoff Hayes am 27 Dez. 2014
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.
maha ismail
maha ismail am 27 Dez. 2014
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by