Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sami1984

    Matrix with element that change with 'for loop'

    No it is not the same thing for the matrix abd; I was looking for the answer of that.I got some help from someone and it seems that I need to define abd(:,:,m)not just abd(m)and to make the code run faster I need to use prelocatting abd=zeros(2,2,101) where m=1:101.
  2. sami1984

    Matrix with element that change with 'for loop'

    Hello every body I am working on a project that I need to find matrix similar to this one % Beginning of the Code clear all;close all;clc; for m=1:10 A11(m)=m+1; B11(m)=2*m; D11(m)=2*m+1; abd=[A11(m) B11(m);B11(m) D11(m)]; end %End of the Code where I want the matrix 'abd' get different value...

Part and Inventory Search

Back
Top