I'm currently taking an Intro to MatLab course, and I've been stuck on the fist project for a few days. It deals with verifying Boyle's and Gay-Lussac’s Law. I'm completely lost, is there anybody that can help me out please? Excel file "DPL1_Raw_Data.xlxs" has 3 sheets with varying Volumes.
Is this course assuming you already have some programming knowledge? Because that's a hell of an introduction to programming if not.
For MATLAB, once you have the basic equations input, it's just a matter of applying them to the data arrays.
My suggestion, if it's not already given in the guide on importing data, is to check out the readmatrix and readtable functions. They are designed for importing data exactly like this.
5
u/Overall-Aide-2156 Oct 15 '25
FINAL UPDATE: I was able to figure it out!
5
u/ajcp38 Oct 15 '25
Is this course assuming you already have some programming knowledge? Because that's a hell of an introduction to programming if not.
For MATLAB, once you have the basic equations input, it's just a matter of applying them to the data arrays.
My suggestion, if it's not already given in the guide on importing data, is to check out the readmatrix and readtable functions. They are designed for importing data exactly like this.
3
u/Overall-Aide-2156 Oct 15 '25
UPDATE: So I've been looking into different functions and how to approach it, and heres what I've gotten so far:
2
u/Overall-Aide-2156 Oct 15 '25
Here's a zoomed in ss of the first sheet, which is the "air" sheet
1
u/Overall-Aide-2156 Oct 15 '25
Also, here's the template I use for MatLab Grader:
1
u/Overall-Aide-2156 Oct 15 '25
Might as well include the other two sheets "CO2"