photo

pefernan


EPFL Lausanne

2017년부터 활동

Followers: 0   Following: 0

메시지

통계

MATLAB Answers

2 질문
0 답변

순위
247,174
of 300,853

평판
0

참여
2 질문
0 답변

답변 채택
50.0%

획득한 표
0

순위
 of 21,094

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 171,319

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


Can't use subs(sym_array,vector) because Matlab assumes I want to replace the first component of sym_array and not the whole array
x = sym('x',[1 2 3]) subs(x,[1 2 3]) returns: [1,2,3,x2,x2,x2,x3,x3,x3] How do I fix this to return [1,2,3]?

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Error evaluating symbolic expressions with symbolic arrays.
I get an error when I run this code (R2017a): x = sym('x',[1 3]); y = x(1) + x(2) + x(3); x(1)=1; x(2)=1; ...

8년 초과 전 | 답변 수: 1 | 0

1

답변