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일

0 개 추천

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.
bsxfun(@minus, prova,prova(3,:))

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

질문:

2014년 2월 11일

댓글:

2014년 2월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by