MATLAB code by using nested loop

1 次查看(过去 30 天)
Sahib khan
Sahib khan 2021-1-16
回答: KSSV 2021-1-16
Write down a MATLAB code by using nested loop that will give output like this
1
1 2
1 2 3

回答(1 个)

KSSV
KSSV 2021-1-16
  1. Read about for loop.
  2. Read about fprintf.

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by