Fill vector with function
Show older comments
Answers (1)
Dinesh Yadav
on 4 Oct 2019
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.
Categories
Find more on Color and Styling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!