I'm trying to plot a function using semilogx and have two questions. Firstly, how do you solve an equation for a dependent variable when the independent variable is an array rather than a fixed numerical value, i.e. i want to solve y for all values of x within the array. Secondly, how can I then plot (using the function semilogx) this graph of y vs. x?
MATLAB: Solving an equation with an array, then plotting using semilogx
semilogx
Best Answer