필터 지우기
필터 지우기

Fill vector with function

조회 수: 3 (최근 30일)
Adam Tomasek
Adam Tomasek 2019년 10월 1일
답변: Dinesh Yadav 2019년 10월 4일

I have this assignment. Can you please help me how to solve that? Create vector xx1 0,1 of lenght 100, % create vector yy1 and fill it with y = x*x use 3x3 subplot and plot graph xx1 vs. yy1 on top center position.

  댓글 수: 1
darova
darova 2019년 10월 1일
Show us what you have already done

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

답변 (1개)

Dinesh Yadav
Dinesh Yadav 2019년 10월 4일
Kindly try to solve and show what you have attempted before posting a question. The following code might help
a=randn(1,100);
y= a.^2;
figure;
for n = 1:9
subplot(3,3,n)
end
subplot(3,3,8);
plot(a,y);
Try to modify this code to get what you want.

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by