Azzera filtri
Azzera filtri

How to load .dat file in matlab?

237 visualizzazioni (ultimi 30 giorni)
Pallavi M
Pallavi M il 30 Ott 2015
Risposto: Stalin Samuel il 30 Ott 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');

Risposte (1)

Stalin Samuel
Stalin Samuel il 30 Ott 2015

Categorie

Scopri di più su Workspace Variables and MAT-Files in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by