data{i}=im​portdata([​pathname,f​ilename{i}​]);

meaning of this code

댓글 수: 2

Stephen23
Stephen23 2024년 7월 29일
Tips for better code:
  • replace the concatenation operator (square brackets) with FULLFILE().
  • replace IMPORTDATA with e.g. READTABLE, READMATRIX, or similar.
neela
neela 2024년 7월 29일
Thanks

댓글을 달려면 로그인하십시오.

답변 (1개)

Anjaneyulu Bairi
Anjaneyulu Bairi 2024년 7월 29일

0 개 추천

Hi,
Here is the explanation of "data{i}=im​portdata([​pathname,f​ilename{i}​])"
The code imports data from a file whose path is constructed by concatenating pathname and filename{i}, and then stores the imported data into the i-th position of the cell array data.
Here "importdata" is a funciton in MATLAB.To know more information on this function , you can visit below documentation link
Hope this helps.

카테고리

도움말 센터File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

질문:

2024년 7월 29일

댓글:

2024년 7월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by