Subtract element matrix matlab!

1 回表示 (過去 30 日間)
Francesco
Francesco 2014 年 2 月 11 日
コメント済み: Azzi Abdelmalek 2014 年 2 月 11 日
prova=xlsread('2.csv')
[righe, colonne]=size(prova)
primo_elemento=prova(3,:)
I want to subtract this element to the whole prova matrix.

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 2 月 11 日
If you mean to remove
prova(3,:)=[]
  2 件のコメント
Francesco
Francesco 2014 年 2 月 11 日
I want to substract at each columns of the prova variable the primo_elemento element.
Azzi Abdelmalek
Azzi Abdelmalek 2014 年 2 月 11 日
bsxfun(@minus, prova,prova(3,:))

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by