Basic opeation in matlab

Hello i am very green in matlab SO sorry for simple (stupid) question.
what the difference between next command
y = input'*H(wCode,:);%H is a Matrix of NxN,
y = input*H(wCode,:);
from what i understated it takes a certain row of matrix and multiply by input vector but i cant figure out what this symbol ' dose.

답변 (2개)

Daniel Shub
Daniel Shub 2013년 6월 10일

0 개 추천

In this case the ' is a shorthand way of calling the ctranspose function. You may also want to look at .' which is shorthand for calling the transpose function.
Jan
Jan 2013년 6월 10일

0 개 추천

You can simply try it in the command window:
in = 1:10;
in
in'
I've avoided the name "input", because this is an important Matlab command and overwritng it can lead to unexpected results.

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2013년 6월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by