Error using ==> mrdivide Matrix dimensions must agree.
Show older comments
Why can't I draw y with x
y = exp(1 / x)
x = linspace (0,500,30)
plot(x,y)
Where am I wrong?
Answers (1)
madhan ravi
on 5 Sep 2019
Edited: madhan ravi
on 5 Sep 2019
x = linspace(0,500,30);
y = exp(1 ./ x);
plot(x,y)
Categories
Find more on Creating and Concatenating Matrices 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!