Why doesn't it work ? Please help
1 次查看（过去 30 天）
I need to write this function , but i have tried it and it doesn't work.
Where am I wrong ?
dt = 0.01;
t = 4;
T = 0:dt:t;
% First Quarter
r1 = 0:dt:t/4 ;
p1 = sin(pi.*r1) ;
% Define second Quarter here and append it to the above
Find more on 2-D and 3-D Plots 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!