You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Show how to plot graph with given conditions for given x array. As in example y=(3+sin(x)^2)/(1+x^2) if x<=0 and
y=2*x^2*cos(x)^2 if x>=0.
Cite As
Andriy Kavetsky (2026). PlotFunctionOnIntervalWithConditions (https://in.mathworks.com/matlabcentral/fileexchange/59750-plotfunctiononintervalwithconditions), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (880 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | check if all x(i) are >= 0 |
