How to Code Math Equation in Matlab.

Hi Everyone! I need help! I'm just new to Matlab I need to code this. Please see attached file. It really means a lot to me if anyone will tell me how to do it or is there a function or code that already do that. Note I need to solve for the value of k which is Thermal conductivity.

 Accepted Answer

Sam Chak
Sam Chak on 27 Jul 2022
Hi @bob
Do you wish to learn only the specific code for solving the Heat Equation?
Or, do you want to learn MATLAB from scratch?
By the way, from the image, solving for k is rather super easy if you have the values for , ρ, c, and .
The idea is to rearrange
to become
and the make the substitutions of the values to calculate k.

2 Comments

Hi Sam yes only the code to solve for K, yes I have density and specific heat. The temperature will come from 3 sensors connected to a material using arduino.
Thanks for the update, @bob. Since you have the temperature data, the value of K can be computed easily. If the problem has been solved, consider accepting the Answer to close this issue.

Sign in to comment.

More Answers (0)

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Products

Asked:

bob
on 27 Jul 2022

Commented:

on 28 Jul 2022

Community Treasure Hunt

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

Start Hunting!