Info

This question is closed. Reopen it to edit or answer.

Loading of selected data and then division of the data with a constant and then plotting out the results?

1 view (last 30 days)
I have data of 100,000 rows in txt form in which I want to upload 98640 row having one coloumn. while after uploading I want to divide it with 1744027.304 and then want to plot it on the y-axis. Kindly any one guide me and also tell me if axis range needs to be change.

Answers (1)

Marc Jakobi
Marc Jakobi on 8 Oct 2016
Just drag the text file into your workspace, use the GUI to set up how you would like to import the data (correct data types, delimeter, etc.) and then click on the arrow below "Import selection" and choose "generate script" or "generate function".

Community Treasure Hunt

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

Start Hunting!