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 Comments

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

Answers (0)

This question is closed.

Tags

Asked:

on 26 Dec 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!