亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

您好,不是很明白matlab disp命令表示什么?請問有知道的嗎

您好,不是很明白matlab disp命令表示什么?請問有知道的嗎

忽然笑 2021-12-31 07:07:24
disp('輸入判斷矩陣A') 請問這個A怎么輸入呢? 在線等……
查看完整描述

1 回答

?
www說

TA貢獻1775條經驗 獲得超8個贊

To
display
text
or
array
DESCRIPTION:
disp(X)
displays
an
array,
without
printing
the
array
name.
If
X
contains
a
text
string,
the
string
is
displayed.
Another
way
to
display
an
array
on
the
screen
is
to
type
its
name,
but
this
prints
a
leading
"X
=,"
which
is
not
always
desirable.
Note
that
disp
does
not
display
empty
arrays.
這是Matlab
help上的原文,看來disp是輸出函數,而非輸入函數,要輸入一個邏輯矩陣可以用input命令
A=input('A=?');

 


查看完整回答
反對 回復 2022-01-03
  • 1 回答
  • 0 關注
  • 148 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號