Help! i'm new

7 ビュー (過去 30 日間)
nguyễn gia bảo
nguyễn gia bảo 2019 年 3 月 18 日
コメント済み: KSSV 2019 年 3 月 18 日
hi guy, i'm a newbie and havent know a lot about Matlab yet. i'm having trouble with a question which i have to display the phrase here we go loop the loop 6 times using for-loop and diplay command, can you guys help me out, please

回答 (1 件)

KSSV
KSSV 2019 年 3 月 18 日
Read about fprintf
for i = 1:6
fprintf('Here we go the loop %d\n',i)
end
  2 件のコメント
madhan ravi
madhan ravi 2019 年 3 月 18 日
編集済み: madhan ravi 2019 年 3 月 18 日
No loop is needed for this trivial task and obviously this is homework.
KSSV
KSSV 2019 年 3 月 18 日
He is a new bee....

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

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by