필터 지우기
필터 지우기

write the following program using matlab

조회 수: 1 (최근 30일)
VIVEK SINGH
VIVEK SINGH 2020년 11월 30일
댓글: VIVEK SINGH 2020년 11월 30일

답변 (1개)

amin
amin 2020년 11월 30일
Hi Vivek,
Odd positions are integers from 1 to 50 and they go to the first column of A.
The even positions are the third power of the previous position and they go to the second column of A.
A(:,1)=1:50;
A(:,2)=A(:,1).^3;
plot(A(:,1),A(:,2))
legend('Second column against first column')
  댓글 수: 2
John D'Errico
John D'Errico 2020년 11월 30일
편집: John D'Errico 2020년 11월 30일
Please don't do homework assignments for people. This was assigned to them, not to you.
It does not help the OP in any way, except to teach them there is always a sucker out there willing to do their work for them.
VIVEK SINGH
VIVEK SINGH 2020년 11월 30일
thank you so much sir for your kind help

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

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by