ASSIGNING A VALUE TO A VARIABLE
4 views (last 30 days)
Show older comments
henry tochukwu
on 2 Dec 2019
Commented: henry tochukwu
on 7 Dec 2019
please I want to know if it is possible to write an equation containing a variable before writing down the values. e.g V = a+3, before writing down the value of a.
3 Comments
Accepted Answer
Walter Roberson
on 2 Dec 2019
f = @(t) 5*(t-32)/9
or
syms t
f = 5*(t-32)/9
9 Comments
Matt J
on 2 Dec 2019
@henry, if you consider your question answered, you should Accept-click the answer you prefer.
More Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!