Hello, help me please sort out my problem. I have some vector k = [0: 0.01: 0.1] and there is a formula I need, let's say y = k * 20. So, with a vector length from 0.05 to 0.1, my formula changes, for example: y = k * 10. Question: how can I plot (k, y) when I change the formula?

回答 (1 件)

Cris LaPierre
Cris LaPierre 2021 年 5 月 12 日

0 投票

You'll find all the help you need in MATLAB Onramp.
  • Ch 4 covers creating arrays
  • Ch 6 covers array calculations
  • Ch 9 covers plotting
You will likely find the other chapters very helpful as well.

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2021 年 5 月 12 日

回答済み:

2021 年 5 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by