Integration of a matrix
1 view (last 30 days)
Show older comments
Hi does anyone know how I would perform this integration:

This is the code I have so far but I'm not sure how to properly perform this integral> I am reading data in from an excel file and would like to sum the integration results?
clc
close all
clear all
% Load data from excel
Ts=xlsread('E:\NPL\Cav400H\c1.csv','A3:A1002');
A=xlsread('E:\NPL\Cav400H\c1.csv','A3:B1002');
plot(A(:,1),A(:,2))
% Sampling frequency
Fs = 1/(max(Ts)-min(Ts));
L = 10000;
FT = fft(A(:,2),L);
FT = FT(1:L/2)/L;
% RMS Value (v(f)V*(f))
FAmp = abs(FT.*conj(FT));
% BIE Limits
Fmin = 1e6; % minimum integral limit
Fmax = 5e6; % maximum integral limit
0 Comments
Answers (0)
See Also
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!