Explain the steps of the following CODE in MATLAB lambda = 1; co = 10; t = [0:0.1:1]; f = co*exp(-lambda*t); plot (tf); grid

Mathematics For Machine Technology
8th Edition
ISBN:9781337798310
Author:Peterson, John.
Publisher:Peterson, John.
Chapter87: An Introduction To G- And M-codes For Cnc Programming
Section: Chapter Questions
Problem 14A
icon
Related questions
Question
Explain the steps of the following CODE in MATLAB
co = 10:
t = [0:0.1:1];
f= co*exp(-lambda*t);
plot (tf);
grid
Transcribed Image Text:Explain the steps of the following CODE in MATLAB co = 10: t = [0:0.1:1]; f= co*exp(-lambda*t); plot (tf); grid
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer