Matlab Class

Tuesday, May 12, 2015

Logical Array in Matlab

The key word 'true' in MatLab is evaluated to '1', 'false' evaluated to '0'.


Example Program :

%%Create logical array's

x=[true false]

Posted by Advaitha at 10:12 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Advaitha
View my complete profile

Blog Archive

  • ▼  2015 (15)
    • ►  June (1)
    • ▼  May (14)
      • Matlab code to solve differential equation D2y-2*D...
      • Matlab code to solve the 2nd order differential eq...
      • MatLab code to Solve the 1st order differential eq...
      • MatLab code to Solve the 1st order differential eq...
      • Matlab code to Solve the 2nd order differential eq...
      • MatLab code to solve 1st order differential equat...
      • Hermitian of a complex matrix using MatLab
      • Conversion of general matrix to logical array usin...
      • Check the class of the variables in MatLab
      • Data Type check of stored variables in Matlab work...
      • Toeplitz matrix generation using Matlab
      • Generating Vandermonde Matrix in MatLab
      • Logical Array in Matlab
      • Swap Rows and Columns of the matrix using Matlab
Simple theme. Powered by Blogger.