Hi all
i have a function that takes the user input, and generates 3 equations with 3 variables (this is an academic work about wastewater analysis).
i need to use the inverse and multification functions (Minverse and MMult) in the VBA code.
to do so i need to populate a matrix of 3x3 and an array of 1x3 with data from variables, inverse the matrix, multiply the array with the inverted matrix and export the results as a 1x3 array.
i'm stuck with my limited knowledge of VBA...
can someone help with a simple code, showing me how to populate an array, use the functions and export it out?
thanks!
Paz
i have a function that takes the user input, and generates 3 equations with 3 variables (this is an academic work about wastewater analysis).
i need to use the inverse and multification functions (Minverse and MMult) in the VBA code.
to do so i need to populate a matrix of 3x3 and an array of 1x3 with data from variables, inverse the matrix, multiply the array with the inverted matrix and export the results as a 1x3 array.
i'm stuck with my limited knowledge of VBA...
can someone help with a simple code, showing me how to populate an array, use the functions and export it out?
thanks!
Paz