필터 지우기
필터 지우기

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

조회 수: 5 (최근 30일)
neela
neela 2024년 7월 29일
댓글: neela 2024년 7월 29일
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일
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.

카테고리

Help CenterFile Exchange에서 Data Import and Export에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by