フィルターのクリア

How can i fix this code with ploting a function

2 ビュー (過去 30 日間)
Wenchen Liu
Wenchen Liu 2022 年 12 月 13 日
編集済み: VBBV 2022 年 12 月 13 日
I want to plot this function, that is,
N(10-N)=16e^0.25t
with interval [0,10]
and i tried:
fplot(@(x) 16*exp.^0.25*x,[0 10],)
in the command section, it says, "Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters."

回答 (1 件)

VBBV
VBBV 2022 年 12 月 13 日
編集済み: VBBV 2022 年 12 月 13 日
fplot(@(x) 16*exp(0.25*x),[0 10]) % exp is exponential function,
  1 件のコメント
VBBV
VBBV 2022 年 12 月 13 日
exp is a matlab function. All function definitions begin with ' ( '

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

カテゴリ

Help Center および File ExchangeArgument Definitions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by