help matlab code for summation from 1 to 4 dotproducts between two column vector multiple bycolum vector such as 《dot h(:,1),q(:,I)》*q(:,I)

help matlab code for summation from 1 to 4 dot products between two column vector multiple by colum vector such as 《dot h(:,1),q(:,I)》*q(:,I)

댓글 수: 3

This is not clear, illustrate with a short example
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
I'm sorry q also matrix but I deal with each column to provide what I need

답변 (0개)

이 질문은 마감되었습니다.

태그

질문:

2014년 12월 26일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by