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)
Show older comments
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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!