Borrar filtros
Borrar filtros

How to load .dat file in matlab?

235 visualizaciones (últimos 30 días)
Pallavi M
Pallavi M el 30 de Oct. de 2015
Respondida: Stalin Samuel el 30 de Oct. de 2015
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');

Respuestas (1)

Stalin Samuel
Stalin Samuel el 30 de Oct. de 2015

Categorías

Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by