How do users answer MATLAB questions on Q&A sites? A case study on stack overflow and MathWorks

MATLAB is an engineering programming language with various toolboxes that has a dedicated Question and Answer (Q&A) platform on the MathWorks website, which is similar to Stack Overflow (SO). Moreover, some MATLAB users ask their questions on SO. This paper aims to compare these two Q&A plat...

全面介紹

Saved in:
書目詳細資料
Main Authors: NAGHASHZADEH, Mahshid, HAGSHENAS, Amir, SAMI, Ashkan, LO, David
格式: text
語言:English
出版: Institutional Knowledge at Singapore Management University 2021
主題:
在線閱讀:https://ink.library.smu.edu.sg/sis_research/6863
https://ink.library.smu.edu.sg/context/sis_research/article/7866/viewcontent/How_Do_Users_Answer_MATLAB_Questions_on_Q_A_Sites_A_Case_Study_on_Stack_Overflow_and_MathWorks.pdf
標簽: 添加標簽
沒有標簽, 成為第一個標記此記錄!
機構: Singapore Management University
語言: English
id sg-smu-ink.sis_research-7866
record_format dspace
spelling sg-smu-ink.sis_research-78662022-02-07T11:14:45Z How do users answer MATLAB questions on Q&A sites? A case study on stack overflow and MathWorks NAGHASHZADEH, Mahshid HAGSHENAS, Amir SAMI, Ashkan LO, David MATLAB is an engineering programming language with various toolboxes that has a dedicated Question and Answer (Q&A) platform on the MathWorks website, which is similar to Stack Overflow (SO). Moreover, some MATLAB users ask their questions on SO. This paper aims to compare these two Q&A platforms to see what kind of questions are asked and how developers answer these questions in each platform. The result of our analysis on 80,382 MATLAB questions on SO and 266,367 questions on MathWorks show that MATLAB questions on topics ranging from the MATLAB software installation to questions related to programming received high votes and accepted answers on MathWorks. However, the questions about basics of programming such as plots, functions, and variables and questions on converting MATLAB code to other programming languages are very likely to receive answers on SO. Our detailed analysis on SO shows that users answer MATLAB questions with the same rate of the accepted answer as other popular programming languages like Java and Python, but the rate of unanswered questions and questions without an accepted answer for Simulink and the three most popular MATLAB toolboxes -- image processing, signal processing, and computer vision -- are very high. To analyze the evolution of MATLAB questions on SO, we studied 80,382 MATLAB questions using the SOTorrent dataset. The patterns in MATLAB questions' evolution are: 1) Most of the revisions to questions are text-related and not on code snippets. 2) Most of the code-related revisions were performed by the original poster (OP). 3) Non-original posters (Non-OPs) usually revise code snippets' appearance, while OPs usually revise code snippets' content and logic. 2021-03-01T08:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/6863 info:doi/10.1109/SANER50967.2021.00059 https://ink.library.smu.edu.sg/context/sis_research/article/7866/viewcontent/How_Do_Users_Answer_MATLAB_Questions_on_Q_A_Sites_A_Case_Study_on_Stack_Overflow_and_MathWorks.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University MATLAB Stack Overflow MathWorks code snippets evolution question revision Artificial Intelligence and Robotics Databases and Information Systems
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic MATLAB
Stack Overflow
MathWorks
code snippets
evolution
question
revision
Artificial Intelligence and Robotics
Databases and Information Systems
spellingShingle MATLAB
Stack Overflow
MathWorks
code snippets
evolution
question
revision
Artificial Intelligence and Robotics
Databases and Information Systems
NAGHASHZADEH, Mahshid
HAGSHENAS, Amir
SAMI, Ashkan
LO, David
How do users answer MATLAB questions on Q&A sites? A case study on stack overflow and MathWorks
description MATLAB is an engineering programming language with various toolboxes that has a dedicated Question and Answer (Q&A) platform on the MathWorks website, which is similar to Stack Overflow (SO). Moreover, some MATLAB users ask their questions on SO. This paper aims to compare these two Q&A platforms to see what kind of questions are asked and how developers answer these questions in each platform. The result of our analysis on 80,382 MATLAB questions on SO and 266,367 questions on MathWorks show that MATLAB questions on topics ranging from the MATLAB software installation to questions related to programming received high votes and accepted answers on MathWorks. However, the questions about basics of programming such as plots, functions, and variables and questions on converting MATLAB code to other programming languages are very likely to receive answers on SO. Our detailed analysis on SO shows that users answer MATLAB questions with the same rate of the accepted answer as other popular programming languages like Java and Python, but the rate of unanswered questions and questions without an accepted answer for Simulink and the three most popular MATLAB toolboxes -- image processing, signal processing, and computer vision -- are very high. To analyze the evolution of MATLAB questions on SO, we studied 80,382 MATLAB questions using the SOTorrent dataset. The patterns in MATLAB questions' evolution are: 1) Most of the revisions to questions are text-related and not on code snippets. 2) Most of the code-related revisions were performed by the original poster (OP). 3) Non-original posters (Non-OPs) usually revise code snippets' appearance, while OPs usually revise code snippets' content and logic.
format text
author NAGHASHZADEH, Mahshid
HAGSHENAS, Amir
SAMI, Ashkan
LO, David
author_facet NAGHASHZADEH, Mahshid
HAGSHENAS, Amir
SAMI, Ashkan
LO, David
author_sort NAGHASHZADEH, Mahshid
title How do users answer MATLAB questions on Q&A sites? A case study on stack overflow and MathWorks
title_short How do users answer MATLAB questions on Q&A sites? A case study on stack overflow and MathWorks
title_full How do users answer MATLAB questions on Q&A sites? A case study on stack overflow and MathWorks
title_fullStr How do users answer MATLAB questions on Q&A sites? A case study on stack overflow and MathWorks
title_full_unstemmed How do users answer MATLAB questions on Q&A sites? A case study on stack overflow and MathWorks
title_sort how do users answer matlab questions on q&a sites? a case study on stack overflow and mathworks
publisher Institutional Knowledge at Singapore Management University
publishDate 2021
url https://ink.library.smu.edu.sg/sis_research/6863
https://ink.library.smu.edu.sg/context/sis_research/article/7866/viewcontent/How_Do_Users_Answer_MATLAB_Questions_on_Q_A_Sites_A_Case_Study_on_Stack_Overflow_and_MathWorks.pdf
_version_ 1770576109094567936