Explanation of this function

Hello Everyone,
I am trying to generate IRF for my data(Cholesky identification) and I have 6 variables, from 2008Q1 to 2021Q4. Can someone explain the meaning of these functions so I can alter the original code according to my need.
What do size(x,1) mean?
Thank you :)

3 Comments

If you want to know what a function xxx does, type "doc xxx"
doc size
I should type it where? sorry?
On MATLAB command window

Sign in to comment.

Answers (1)

Voss
Voss on 19 Aug 2022
size(x,1) is the size the array x in the first dimension, i.e., the number of rows of x.

2 Comments

Thank you, I will check this out
You're welcome! Hope it helps.

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 19 Aug 2022

Commented:

on 19 Aug 2022

Community Treasure Hunt

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

Start Hunting!