Integration of a matrix
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!