As @Stephen23 mentioned , use of linspace or logspace is more appropriate to plot graphs
t = linspace(1e-6,1e-4,100) y = b.*exp(-t/10^-6) %use element wise multiplication also.
Use also element wise multiplication operation.
As @Stephen23 mentioned , use of linspace or logspace is more appropriate to plot graphs
t = linspace(1e-6,1e-4,100) y = b.*exp(-t/10^-6) %use element wise multiplication also.
Use also element wise multiplication operation.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!