Array of U1 V1 U2 V2 U3 V3
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Frank Oosterveld
le 20 Nov 2018
Réponse apportée : madhan ravi
le 20 Nov 2018
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 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!