Hi everybody,
I have polynominal, F = 1+2x+3x^24x^3+5 x^4+6x^5+7x^6 that I would luv to put in matrix form that is shown below
[7 0 0 0 ]
[6 7 0 0 ]
H= [ 5 6 7 0 ]
[ 4 5 6 7 ]
[ 3 4 5 6 ]
[ 2 3 4 5 ]
[ 1 2 3 4 ]
plse note the relationship between the polynominal F and matrix H, in the first row of matrix H, we only start with the hight coefficient of the highest degree and we start adding the following coefficients of the lower degree as we go down the rows, I am trying to do that using C , the program I want to do must be general and can be used for different polynominals with different degrees, , I need to do a program that only needs the coefficients of the polynominal and it stright away finds the H matrix I dont need to change anythign manually ,any suggestions of how this can be done please?
I have polynominal, F = 1+2x+3x^24x^3+5 x^4+6x^5+7x^6 that I would luv to put in matrix form that is shown below
[7 0 0 0 ]
[6 7 0 0 ]
H= [ 5 6 7 0 ]
[ 4 5 6 7 ]
[ 3 4 5 6 ]
[ 2 3 4 5 ]
[ 1 2 3 4 ]
plse note the relationship between the polynominal F and matrix H, in the first row of matrix H, we only start with the hight coefficient of the highest degree and we start adding the following coefficients of the lower degree as we go down the rows, I am trying to do that using C , the program I want to do must be general and can be used for different polynominals with different degrees, , I need to do a program that only needs the coefficients of the polynominal and it stright away finds the H matrix I dont need to change anythign manually ,any suggestions of how this can be done please?
Comment