photo

pefernan


EPFL Lausanne

Aktiv seit 2017

Followers: 0   Following: 0

Nachricht

Statistik

MATLAB Answers

2 Fragen
0 Antworten

RANG
247.174
of 300.853

REPUTATION
0

BEITRÄGE
2 Fragen
0 Antworten

ANTWORTZUSTIMMUNG
50.0%

ERHALTENE STIMMEN
0

RANG
 of 21.094

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 171.319

BEITRÄGE
0 Probleme
0 Lösungen

PUNKTESTAND
0

ANZAHL DER ABZEICHEN
0

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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]?

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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; ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort