Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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')

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!