MATLAB Plot Graph with Matlab: Table Values

  • Thread starter Thread starter Air
  • Start date Start date
  • Tags Tags
    Graph Matlab
Click For Summary
To plot specific values from a table in MATLAB, users can utilize the plot function by specifying the coordinates directly, such as plot(x(1), y(1), x(3), y(3)). Additional commands can be employed to customize the appearance of the plot, including markers for individual points. Users can also explore functions like scatter for plotting discrete data points. It is essential to ensure that the x and y values are correctly indexed from the table. Properly utilizing these commands allows for effective visualization of selected data points.
Air
Messages
202
Reaction score
0
How can I plot graph using a few values in the table? I know how to plot if we are to plot a formula but how can I plot pacific values?
 
Physics news on Phys.org
plot(x(1), y(1), x(3) y(3)) plus a couple of other commands for dots etc...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K