Load and plot .mat file
显示 更早的评论
I need to load these files and plot them in frequency domain but currently this error keep appearing:
x = load('signal1.mat');
y = load('signal2.mat');
plot(x, y);
Error in q4 (line 3)
plot(x, y);
How to solve this problem?
回答(1 个)
x = load('signal1.mat')
y = load('signal2.mat')
plot(x.x,y.x,'.')
类别
在 帮助中心 和 File Exchange 中查找有关 Frequency-Domain Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
