defining the range of an inverse function
Show older comments
To plot function y1=3*exp(x./3+1); between x=[0:0.01:1]; using the hold on and axis equal add the inverse y2=3*log(x./3)-3; on the same graph between x values that come from the range of the original F(x) being x2=[3e^1/3:0.01:3e^4/3];, keep getting the error ;vectors must be same length, is there a better way I can define x2?
Thanks in advance for any assistance.
>> plot(x,y1)
>> hold on
>> axis equal
>> plot(x1,y2)
Error using plot
Vectors must be the same length.
Accepted Answer
More Answers (0)
Categories
Find more on Programming 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!