how to plot a single axis graph

답변 (1개)

Walter Roberson
Walter Roberson 2020년 4월 27일

1 개 추천

Vectorize your code by using .^ instead of ^
You can either define an anonymous function for the calculation, and use fplot() with that, OR you can define x as a list of particular values, and calculate y from there, and plot(x,y)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2020년 4월 27일

댓글:

2020년 5월 14일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by