필터 지우기
필터 지우기

Creating a Vector Table

조회 수: 2 (최근 30일)
Bailey Smith
Bailey Smith 2018년 6월 13일
댓글: Bailey Smith 2018년 6월 14일
I need to create a table of x and corresponding y values (if y=sin(x)). I would like my x column to be 0, 0.2, 0.4, and 0.6 and want corresponding y values to plot in the columns next to it. I would like a y column for the forward difference, backward difference, central difference, and perfect (perfect being y=cos(x)). Thank you in advance for the help!
  댓글 수: 2
Steven Lord
Steven Lord 2018년 6월 14일
You haven't said what type of help you're looking for. What have you already tried? Seeing that may help us determine what type of advice to give you.
Bailey Smith
Bailey Smith 2018년 6월 14일
I'm just unsure as to where to start. I know I'll need to throw in some if/while loops, but I'm not sure where. I'm fairly new to coding, so all of this is a little confusing to me.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Tables에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by