Hi, as the title says, I need a symbolic array of U1 V1 U2 V2 U3 V3 .. Etc.
Number_of_elements = 100
UV = zeros(2*Number_of_elements,2)
for i = 1:Number_of_elements+1
U = sym('U',[i 1]);
V = sym('V',[i 1]);
UV(i,:) = [U(i), V(i)]
end
UV = UV(:)
I tried this, but then the following error occurs: Unable to convert expression into double array.
Does anyone see a good way to fix this?

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기

질문:

2018년 11월 20일

답변:

2018년 11월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by