ahmad_abdulghany
Advanced Member level 4
- Joined
- Apr 12, 2005
- Messages
- 1,206
- Helped
- 102
- Reputation
- 206
- Reaction score
- 22
- Trophy points
- 1,318
- Location
- San Jose, California, USA
- Activity points
- 11,769
matlab piecewise function
Hello
you can manually implement your Delta Dirac Function like this
deltat = 0.0002; % Define the sampling interval
t = 0:deltat:0.0100; % Define the time range
delta = zeros(1,length(t)); % Define the Dirac delta function
delta(1) = 1/deltat; % Finish defining the Dirac delta function
This is my solution, you can find mor help in the www.mathworks.com
I hope that helps.
Best regards
Hello
you can manually implement your Delta Dirac Function like this
deltat = 0.0002; % Define the sampling interval
t = 0:deltat:0.0100; % Define the time range
delta = zeros(1,length(t)); % Define the Dirac delta function
delta(1) = 1/deltat; % Finish defining the Dirac delta function
This is my solution, you can find mor help in the www.mathworks.com
I hope that helps.
Best regards