column vector with specific entries for first 4 terms
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I need to make a 16x1 column vecor that is in the following form:
coeff = [-x;-2x;-3x;-4x;0;0;0;0;0;0;0;0;0;0;0;0]
help would be greatly apprecited!
thanks!
0 comentarios
Respuestas (1)
madhan ravi
el 15 de Mzo. de 2019
Editada: madhan ravi
el 23 de Mzo. de 2019
syms x % just define x as symbolic variable
Coeff = sym(zeros(16,1));
Coeff(1:4) = (-(1:4).*x).'
Ver también
Categorías
Más información sobre Number Theory en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!