Recessionplot not including 2020

2 ビュー (過去 30 日間)
mpho bosupeng
mpho bosupeng 2023 年 11 月 7 日
回答済み: Subhajyoti 2024 年 9 月 13 日
Dear Experts,
I am having a challenge with recessionplot. I have plotted this monthly time series data (1971M1-2021M10) and clicked 'recessionplot'.
However, the recessionplot algorithm does not shade (grey) the COVID-19 recession (2020M02-2020M04).
How do I add the COVID-19 recession to the graph?
Thank you,
Mpho

採用された回答

Subhajyoti
Subhajyoti 2024 年 9 月 13 日
It is my understanding that you are plotting recessions using the ‘recessionplot in MATLAB R2021a, but it is not showing the COVID-19 recession (2020M02-2020M04).
This period has been added as recession to the database in the MATLAB R2022a release. The ‘recessionplot’ now plots a recession band for that period in time series. You can update your MATLAB Installation to R2022a or later releases to fix the issue.
Refer to following resource to know more about the steps totUpdate an Existing Installationof MATLAB:
Additionally, you can refer to the following MathWorks documentation link to learn more about ‘recessionplot and its release-updates in MATLAB:
I hope this helps.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBiological and Health Sciences についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by