MATLAB: What is meant by this syntax : L(1) , what does these braces after any variable mean

syntax

%This is just a portion of code so don't bother about actual values: L = a; n = n1; fmax = n./L; dfx = 1/L(1); dfy = 1/L(2);

Best Answer

The parentheses and the numbers refer to the first 2 elements in vector ā€˜Lā€™.
See Matrix Indexing (link) for a discussion on numeric indexing in vectors and matrices.
Related Question