Community Profile

photo

Vijay Shekhawat


Last seen: plus de 3 ans il y a Actif depuis 2019

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


Add each row of a matrix consecutively to all the rows of other matrix where both have equal number of columns
A=[1 2;3 4;5 6;7 8]; B=[1 1;2 2]; lA=length(A); H=zeros(1,2); for i=1:lA H0=A(i,:) + B; H=cat(1,H,H0); end H(1,:...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to multiply different elements of a vector(with no value stored) inside a for loop to generate an equation.
I want to repeatedly add one form of the equation i times, in this I want constants as f(1),f(2)... and variables x1, x2...y1,y2...

plus de 4 ans il y a | 1 réponse | 0

0

réponse