Community Profile

photo

Vijay Shekhawat


Last seen: mehr als 3 Jahre vor Aktiv seit 2019

Followers: 0   Following: 0

Statistiken

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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,:...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten