필터 지우기
필터 지우기

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

조회 수: 6 (최근 30일)
%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);

채택된 답변

Star Strider
Star Strider 2018년 1월 12일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by