MATLAB Answers

plotting with readmatrix code

10 views (last 30 days)
SAGNIK CHAKRABORTY
SAGNIK CHAKRABORTY on 10 Feb 2021
Answered: Manash Sahoo on 11 Feb 2021
i have a dadaset which have 125000 rows and 3 coulmns and it has 100 similar files my aim is to plot all those files so i used readmatrix function to merge it which is shown in X variables in workspace and i am trying to plot with those value what should be the code for ploting the graph??? please expert help
  1 Comment
Image Analyst
Image Analyst on 11 Feb 2021
@Manash Sahoo Please transfer this below, to the "Answers" section so you can get credit for it, not to mention that it's also the proper place for it.

Sign in to comment.

Answers (1)

Manash Sahoo
Manash Sahoo on 11 Feb 2021
You are using brace indexing (usually used for cell arrays) on a double array. Try just switching line 10 with this:
plot(X(1),X(3))

Community Treasure Hunt

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

Start Hunting!

Translated by