필터 지우기
필터 지우기

How to load .dat file in matlab?

조회 수: 235 (최근 30일)
Pallavi M
Pallavi M 2015년 10월 30일
답변: Stalin Samuel 2015년 10월 30일
hello, am new to matlab. am trying to load .dat file and am getting an error. am using this code clc; clear all close all fs=800; x=load('ecg.dat'); x0 = downsample(x,3);
subplot(2,1,1) stem(x) title('Original Signal')
subplot(2,1,2) stem(x0) ylabel('down sampled')
am getting error as Error using load Unknown text on line number 1 of ASCII file C:\Documents and Settings\MTech3rd_sem\My Documents\MATLAB\ecg.dat "Ô$ßü$²".
Error in down2 (line 6) x=load('ecg.dat');

답변 (1개)

Stalin Samuel
Stalin Samuel 2015년 10월 30일

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by