Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I have referenced excel UB steel table and used Vector command so that I can use properties values for calculation. its easier such that I only have to change row number to select a different UB.
I use properties to calculate bending capacity (output as vector) and compare with know demand (typed scalar values), I get errors. How do i convert 1x1 vector answers with typed scalar values such that "all values are scalar" for checks" ?
If A is a 1x1 matrix, you can make it a scalar by assigning A:=A[1 (that is A with vector index 1, because I see that you changed the value of ORIGIN to 1). You may also use A[ORIGIN to be independent from the current setting of ORIGIN.
From the pic it looks like you accidentially used the column selector to access the individual values and this results in a vector - in your case a 1x1 vector/matrix.
So instead of redefining Data:=submatrix(....) and then A:=Data^<6> you may simply write A:=Data[U.brow,6
Its always better to attach your worksheet rather than just providing pictures as its quite hard to debug a picture 😉
By indexing properly.
If it's just a 1x1 vector, you index it with [ORIGIN.
Example: if M holds the 1x1 vector value (3), so M=(3), then you get the simple, scala value 3 by:
M[ORIGIN
Success!
Luc
Prime 6 1*1 vector.
Prime 7 1*1 vector.
Prime 7 can't solve and shows an error.