Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: what is the problem?
Posted:
Dec 30, 2013 7:29 AM


On 12/30/2013 5:06 AM, fatemeh wrote: > i want to assign a vector in the matrix > actually i have a loop that every time change the data in the vector > and i want assign it to every row of my matrix > this is my code : > ps{psize,pcol}=cl{1,pcol}; > > matlab give me this error : > Index exceeds matrix dimensions. > > when psize=500 , pcol=15 >
if you are using vectors and matrices, then why are you using {} for?



