...
#include <string.h> /* incluye memcpy( ... ) */
...
void copiar(float mat[3][3],
float a, float b, float c,
float d, float e, float f,
float g, float h, float i)
{
float aux[3][3] = {{a,b,c}, {d,e,f}, {g,h,i}};
memcpy(mat, aux, sizeof(aux));
}
...
int main()
{
...
// En caso de que quieras colocar los valores manualmente
copiar(mat, 3,5,30, 21,1,0, 32,87,9);
// imprimir mat
copiar(mat, 32,51,310, 231,16,10, 3,4,67);
// imprimir mat
...
// En caso de que tengas todos los valores nuevos en otra matriz
float mat_aux[3][3] = {{81.8, 4, 3},{81.8, 4, 3},{81.8, 4, 3}};
memcpy(mat, mat_aux, sizeof(mat));
// imprimir mat
...
}