clcclearfor e= 0:0.02/1071:0.02 if (e<0.01) s(e)=100*e elseif (e>0.01) s(e)=75.3*e endendplot(e,s)
MATLAB: I need help using for and if for plotting a function.
MATLABplotting
Related Question
- Plotting a non-linear graph in Matlab
- If…elseif Statement Not Pulling Variables
- I would like to understand how to solve this equation with the unknown “a”. I admit I’m not an expert with the solve function. I followed the online directions but I continue to receive this error, Someone can help me? Thank you!
- How to match elements of matrix having different dimensions
- How to obtain a numeric value of an integral involving 3 variables and a bessel function
Best Answer