matlab load file and plot

2 vues (au cours des 30 derniers jours)
haowei luo
haowei luo le 14 Nov 2017
How can I use matlab open a file with .txt and plot these dates in this file.
  1 commentaire
Adam
Adam le 14 Nov 2017
This is the 2nd question you have given the useless tag of '10'. If you can't be bothered to give people who might help useful tags for your question then just leave them empty and hope for the best instead of putting arbitrary numbers in as tags

Connectez-vous pour commenter.

Réponses (1)

Chris Perkins
Chris Perkins le 17 Nov 2017
Hi Haowei,
You can read TXT files into MATLAB using various methods, including:
The Import Tool, as described in the following documentation link:
or the function "textread", as described in the following documentation link:
Once your data is in the Workspace, you can use the "plot" function, as described in the following documentation link:

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by