フィルターのクリア

ASSIGNING A VALUE TO A VARIABLE

4 ビュー (過去 30 日間)
henry tochukwu
henry tochukwu 2019 年 12 月 2 日
コメント済み: henry tochukwu 2019 年 12 月 7 日
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 件のコメント
henry tochukwu
henry tochukwu 2019 年 12 月 2 日
symbolic.
with an example please
thanks
henry tochukwu
henry tochukwu 2019 年 12 月 2 日
I was given an assignment with the equation f = 5(t-32)/9 and was asked to insert the equation before assigning a value to the variable t.
i.e f = 5(t-32)/9
then assign a value to t, but it is not working
I want to know if there any process involved

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2019 年 12 月 2 日
f = @(t) 5*(t-32)/9
or
syms t
f = 5*(t-32)/9
  9 件のコメント
Matt J
Matt J 2019 年 12 月 2 日
@henry, if you consider your question answered, you should Accept-click the answer you prefer.
henry tochukwu
henry tochukwu 2019 年 12 月 7 日
din't see accept on steven lords answer, so I had to accept another answer.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by