Calculate volume of cylindric tank
Mostrar comentarios más antiguos
Hi all,
I'm trying to build a script/function that will help me calculate the volume of a cylindrical fuel tank, and translate about 10 (every 10%) points of the tank to 4-20mA output.
I'm using these tanks and as part of my work. The measurment is via a device that can read 4-20mA but it must be calibrated according to the calcultation above.
Basicaly what I'm looking for is to build a function that receives the diamater and length of the tank as an input and output 10 points of fuel level translated into 4-20 mA (where 4 mA means 0 liters of fuel and 20mA is the maximum the fuel tank can store)
Also plotting the fuel tank somehow and viewing it would be a great addition.
Any suggestions where and how to start building this??
I'm kind of new around matlab so any help would be more than appreciated.
Thanks ahead,
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Lighting, Transparency, and Shading en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

