How to construct a standard plot on MATLAB with excel data?

4 visualizzazioni (ultimi 30 giorni)
HI everyone, I've never used MATLAB beforre, but my physical chemistry lab course is requiring us to make all figures on MATLAB. I really just need to make standard curves like on excel, except with MATLAB. So, how do I upload some data from excel into MATLAB and then construct a standard curve and include error bars, etc? A lot of what I've read on here so far doesn't really tell how to make plots with uploaded/external data. I would really appreciate the help, and if you have any good video tutorials to recommend for making plots on MATLAB as a beginner, I would really appreciate it. Thank you.

Risposte (1)

Rik
Rik il 15 Apr 2023
If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).
In this case I suggest you read the documentation for the xlsread (or readmatrix) function. Once the data is on Matlab, you can use all normal plotting tools you already found. You might want to start with the plot function. Read the documentation for examples.

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by