1/y on y-axis

11 views (last 30 days)
Jesper Christensen
Jesper Christensen on 4 Dec 2017
Answered: ANKUR KUMAR on 5 Dec 2017
i have plottet a piecewise function to get the graph, and i now want to get the inverted function, so that i get 1/y on the y axis, how do i do this?
fplot(@(x) (2367005001044503*x^2)/140737488355328,[0 67/1000],'b') hold on fplot(@(x) ((5074858722104307*(x-67/1000)/2251799813685248)+0.07549861498),[67/1000 3/25],'b') hold on fplot(@(x) (-(((x-3/25)*(18936040008356024*(x-3/25) - 7082078963507959)/1125899906842624))+0.1949441850),[3/25 1/5],'b') hold off grid on

Accepted Answer

ANKUR KUMAR
ANKUR KUMAR on 5 Dec 2017
You want to get the reciprocal of y.
fplot(@(x) 1/(2367005001044503*x^2)/140737488355328,[0 67/1000],'b')
You will get the reciprocal of y.

More Answers (0)

Categories

Find more on Computational Geometry 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!