Info

此问题已关闭。 请重新打开它进行编辑或回答。

Imaginary part arises when the data imported from excel sheet is double integrate

1 次查看(过去 30 天)
Hi I double integrated two columns of data in excel sheet but in the output the displaced data has imaginary part can some one help me to avoid the imaginary part. clear; clc; w = xlsread('Book3.xlsx'); dt=.02; t=[0:dt:20]; disp = discrt(w,dt); plot(t,disp,'r',t,w); xlabel('Time') ylabel('displacement') title('Integrated unfiltered plot') %legend ('X integrated displacement')

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by