create a user defined function.

3 ビュー (過去 30 日間)
Suresh R
Suresh R 2021 年 11 月 11 日
コメント済み: Cris LaPierre 2021 年 11 月 11 日
i want to create a function and generate output like it is present in excel from A10 to Y15.
input is from A1 to w7.
As we can see from c2 to X15 the formula is similar i.e lets take cell c10.
the formula for c10 =B10*B2+B10.
and for rows y10 to y15 also the formula is same i.e. lets take cell Y10.
the formula for Y10 = =(X10-B10)/B10.
the final output should be like it is present in excel from A10 to Y15 when i run the function.
  2 件のコメント
John D'Errico
John D'Errico 2021 年 11 月 11 日
You need to start learning MATLAB. These are basic tasks, you would learn if you just took one of the tutorials on MATLAB. Look at the Onramp tutorial, or there are many of them on YouTube.
Cris LaPierre
Cris LaPierre 2021 年 11 月 11 日

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by