1. Engineering
  2. Computer Science
  3. write a matlab code that can plot 3 excel files...

Question: write a matlab code that can plot 3 excel files...

Question details

write a matlab code that can plot 3 excel files? this plot know can run one excel file of 20crackf1.

clc;
clear all;
close all;
data1=xlsread('20f1','spectrum - PXI1Slot4_ai0','A8:B10009');% Importing excel file
x=data1(:,1);
y=data1(:,2);
plot(x,y);
xlim([0 100]);
xlabel('Frequency in Hz');
ylabel('Amplitude in g');
title('FFT');
hold on;
data2=xlsread('20crackf1','a1','A1:B5000');
x1=data2(:,1);
y1=data2(:,2);
plot(x1,y1);
xlim([0 100]);

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution