Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock 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: *

  • Users: sirmarhalt
  • Order by date
  1. sirmarhalt

    compare matrix elements

    Hi, the first thing I think to is to use for loops to control all position in both matrices. [ra ca]=size(A); [rb cb]=size(B); t=1; for i=1:ra for j=1:ca for k=1:rb for l=1:cb if A(i,j)==B(k,l) C(t)=A(i,j); t=t+1; end; end; end; end...
  2. sirmarhalt

    Working with varialbes in radio button callback

    When you work with Guide all variables you want to use must be defined in handles structure. If you want to use variable Tbread, you should define it in the Opening_Function of your Guide Program, for example. ... handles.Tbread=0; ... guidata(hObject,handles); The last line save all the...

Part and Inventory Search