Creating and coding MATLAB File to Analyse Equations

4 visualizaciones (últimos 30 días)
James Leak
James Leak el 27 de Jul. de 2019
Comentada: Star Strider el 19 de Ag. de 2019
Hi,
I'm new to MATLAB and I'm trying to create a file that will run analyse data from injecting concrete into soil, and compare two equations that measure the preassure and the radius of a grout column. I have data in an EXCEL file that I would I plan to use, but first I need to create a file with the two equations. Is there a way I can create a file with the equations that will allow me to import data and soil values into the equations and create a code that will allow me to use the file to analyse all the multiple grouting column data?
The equations are:
p1.png
p2.png
Any help is hugely appreciated, even if its just how to get started with the coding.
Many thanks!

Respuestas (1)

Star Strider
Star Strider el 27 de Jul. de 2019
To begin to understand MATLAB, see Getting Started.
You will need to write a script file that reads your data and then presents it so that your equations can use it to calculate the results you want. If you have R2019a (or later), use the readmatrix function to import it, otherwise xlsread is likely your best option.
You will need to understand Matrix Indexing. MATLAB has a very powerful capability called Vectorization, so it is important that you understand it and how to use it effectively.
Code your equations and do the necessary calculations with your data. If you have problems, post your code (and attach your Excel file), fully desciribing any problems you are having. If your code throws errors, compy all the red text from your Command Window to a Comment here. (Details are important.) We will do our best to help you get your code running correctly.
  2 comentarios
James Leak
James Leak el 19 de Ag. de 2019
Many thanks for this comment! It proved most helpeful.
Star Strider
Star Strider el 19 de Ag. de 2019
My pleasure.

Iniciar sesión para comentar.

Categorías

Más información sobre Genomics and Next Generation Sequencing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by