photo

pefernan


EPFL Lausanne

Attivo dal 2017

Followers: 0   Following: 0

Messaggio

Statistica

MATLAB Answers

2 Domande
0 Risposte

RANK
247.184
of 300.863

REPUTAZIONE
0

CONTRIBUTI
2 Domande
0 Risposte

ACCETTAZIONE DELLE RISPOSTE
50.0%

VOTI RICEVUTI
0

RANK
 of 21.100

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 171.413

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta