plot Time-activity curve from .TAC file using Matlab

조회 수: 8 (최근 30일)
Viktor Rogowski
Viktor Rogowski 2020년 9월 5일
답변: Anmol Dhiman 2020년 9월 8일
I'm new in Matlab and I have a problem with plotting a Time-activity curve from a binary file. The info I have about the file is: *.tac files are decoded like this:
  1. n (16-bit integer) number of samples of time-activity curve
  2. atot (32-bit integer) total activity injected in phantom (only needed if not simulating whole-body phantom)
  3. -deltaT (32-bit float) time-step (with negative sign) of activity concentration data that follows
  4. activity array (32-bit float) with length = n
I've linked the file in the zippyshare link: https://www99.zippyshare.com/v/uZPRrEYj/file.html
What I've done is:
P=('int16');
x = ('ieee-le');
fileID = fopen('/Users/Viktor/Documents/Marbete/female_pat117/v1/c1.tac');
A = fread(fileID, P , x);
fclose(fileID);
and I dont know how to continue from this point.
Regards Viktor

답변 (1개)

Anmol Dhiman
Anmol Dhiman 2020년 9월 8일
Hi Viktor,
I am afraid we cannot open .tac file in MATLAB. You can extract the 4 variables mentioned above from third party software and can use MATLAB for plotting them.
Regards,
Anmol Dhiman

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by