Usings subs on matrices ?
이전 댓글 표시
Hi everyone,
I'm trying to substitute variables in a matrix, but I run in something a little bit weird. When using the command "C = subs(C, exp1, exp2)", the result is not the matrix that I would have had if I had done the same substitution for all elements of C. How can it be ?
댓글 수: 2
Jos (10584)
2013년 10월 31일
편집: Jos (10584)
2013년 10월 31일
Your question is too vague. Can you give a very small example of
- your input
- what you did
- what you got as output
- what you expected to get
Added: I do not know a command called SUBS
Matthieu
2013년 10월 31일
답변 (1개)
Johannes Korsawe
2013년 10월 31일
C(C==exp1) = exp2;
??
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!