2d matrix column plot
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, I'm new to matlab so my question may sound almost stupid.
If I want to select two cloumn from a matrix and plot it on xy plane, how can i do it?
댓글 수: 0
답변 (1개)
Setsuna Yuuki.
2020년 12월 6일
You can make a plot with comand plot():
x(:,1) = 0:pi/100:2*pi;
x(:,2) = sin(x);
plot(x(:,1),x(:,2))
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!