1-Visitor
September 17, 2025
Solved
Undefined variable using code blocks, vectors and matrices
- September 17, 2025
- 2 replies
- 518 views
Hi!
First of all... I'm kind of a n00b in Mathcad so please bear with me.
I am writing a sheet thats supposed to calculate resisting moment in concrete slab using vectors and matrices and some code blocks. Or I didn't write it... Google AI studio did 😕
As you can see in the attached image and the attached file I', getting "Undefined variable" when trying to visualize the matrix, wich accoring to Google should work. Further down it will result in i a table the for export to Excel.
As I'm pretty lost, and Google cant fix it (neither do ChatGPT) can you spot the error(s) 😉
I'm using Mathcad Prime 10.0.1.0
Best regards,
Fredrik




