フィルターのクリア

Change all values of column vector (pulled from matrix via indexing) to one value

1 回表示 (過去 30 日間)
M.A.G.
M.A.G. 2020 年 2 月 27 日
回答済み: M.A.G. 2020 年 2 月 27 日
Hello,
I wish to change all values from array (column vector) to the same value. That is,
N(1:3,1)= s
where s is preveoisly defined and N is a matrix. Is there an intelligent way to do this?

回答 (1 件)

M.A.G.
M.A.G. 2020 年 2 月 27 日
The answer is in my question.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by