How to treat a given column in a sheet from Workspace as a variable?

조회 수: 1 (최근 30일)
FW
FW 2019년 4월 7일
편집: FW 2019년 4월 7일
I am generating exponentially modified Gaussians (EMGs) from a simulation and wish to do FT on a selected sheet in the Workspace using another simulation file. The output from the exponentially modified Gaussian simulation generates produces columns in the Workspace. I wish to use one the sheets from the first simulation in the Workspace, call it EMG (7000x1), for further processing for FT. What command can I use directly so that the FT simulation file can read the sheet EMG(7000x1) and assing it a variable name as "RawSignal"? I wish to keep the two simulations code as separate files.
  댓글 수: 2
John D'Errico
John D'Errico 2019년 4월 7일
No. It does not produce another column in the workspace. You are still thinking as if you are using a spreadsheet. Let that spreadsheet mentaility go. Until you do so, you are just using a spreadsheet, and your code will never improve.
FW
FW 2019년 4월 7일
편집: FW 2019년 4월 7일
I am a chemist and self-learning MATLAB. Is it possible to do what I was thinking in the original question, even though it may not be the best approach.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by