フィルターのクリア

Load .mat file

3 ビュー (過去 30 日間)
Negar
Negar 2011 年 2 月 4 日
After many hours trying to figure out how to load a file, I finally gave up ! It's my first time to use Load command, So please give me a basic explanation I have tried to load a file by the following code:
load pulse_7cm_-14dB_10x_aver;
t = Ts:Ts:size(RF)*Ts;
subplot(2,2,1);
plot(1e6*t,1e3*RF);
xlabel('time [\mus]');ylabel('Voltage [mV]');title('T');
but this error appears:
Error in ==> wer at 1
load pulse_7cm_-14dB_10x_aver;
What is the problem?

採用された回答

Vieniava
Vieniava 2011 年 2 月 4 日
check that current directory contains your file to load - if yes, try this (use an extensioni, if exists):
load('pulse_7cm_-14dB_10x_aver.wav') % ssumed that this is a WAV file
you may look on handy function uigetfile (here is documentation )
  1 件のコメント
Negar
Negar 2011 年 2 月 4 日
Thank you Vieniava it worked !!!!!!

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by