Clear Filters
Clear Filters

Creating a matrix of mxn dimension using different points in a plot graph

1 view (last 30 days)
In the following plot graph, I need to create a array of m by n dimension with certain in the plot. For example:
x = 0:0.01:10;
y = sin(x);
plot(x,y);
I need to create a matrix which displays
z = [0.2 0.4 0.6 0.8; 1.2 1.3 1.4 1.8;...].
Any input is appreciated. Thanks in advance.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!