0

Hi I am struggling with matlab vactorization any help on this would be great thanks.

oldLocation, Limit_ are both matrices

 for i=1:250 for j=1:350 temp= oldLocation(i,j,:)./Limit_(i,j,:); end end 

1 Answer 1

3

Just perform the division directly. Of course, you'll need to adapt the code that follows (unless you keep overwriting temp)

temp = oldLocation./Limit_; 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.