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

3 次查看(过去 30 天)
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.

回答(1 个)

Rik
Rik 2023-4-15
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.

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by