Generate all possible Candidates matrix ?? nonlinear system
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
if i have function
P = GenCand ( x , y , k , l , Order )
how i can Calculate the no of Candidates terms?
i wrote this
NoTerms = (1 + (k + 1) + l + size( combsrep( 0 : k , Order) , 1 ) + size( combsrep( 1 : l , Order) , 1 ) + ...
(k + 1) * l;
but i got error
Expression or statement is incorrect--possibly unbalanced (, {, or [.
please help me
0 comentarios
Respuestas (1)
Walter Roberson
el 13 de Dic. de 2017
In the below, under each (| and |) I put a digit indicating the number of active bracket levels "after" the character above it.
NoTerms = (1 + (k + 1) + l + size( combsrep( 0 : k , Order) , 1 ) + ...
1 2 1 2 3 2 1
size( combsrep( 1 : l , Order) , 1 ) + ...
2 3 2 1
(k + 1) * l;
2 1
so somehow we have reached the end of the line having started one more (| than you have matching |)
Ver también
Categorías
Más información sobre Control System Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!