Using If statement with data from excel
Show older comments
Hi, I would like to write an if statement where if RTcout<Ta , RTcout=Ta. The difficulty im having is that Ta has not been defined in the script but has been subbed into equations. Below is an example of the code:
Tcout1 = (subs(Tcout,{J,Ta,Vw},{numData1(2:25,6)',numData1(2:25,8)',numData1(2:25,12)'}));
RTcout = real(Tcout1);
Any help would be appreciated.
Accepted Answer
More Answers (0)
Categories
Find more on Language Fundamentals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!