Creating a script with multiple conditions and equations
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi! I'm a beginner to matlab and I have to create a side script to my headscript where I have conditions for the value of the temperature.
For example:
The temperature inside = 36,44-0,64Toutside if T outside is less than -4 but if it's greater I'll have to use a different equation.
I assume that I have to create some sort of if coding. But how do I direct to condition to an equation?
Sorry if it's hard to understand the question and super thanks in advance for the help.
William
0 Commenti
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!