Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello people 🤗 Mathcad 10 Prime User here,
In my picture below you will see that the equation is giving me a very weird answer. I guess it has something to do with a vector problem, but I tried everything and can't figure out what the problem might be. And I also don't understand why my "header" is showing an error. The table from Excel should be my answer. Don't get confused by "yi"and "y" - it's the same thing, it can be ignored. I also send the mathcad pdf (i don't know why I can't send the actual file but anyways - it always said error) - all the equations are correctly written.
Thanks for any help.
Saro
Solved! Go to Solution.
When you defined x]i you typed square brackets and doing so creates a matrix. That's the reason why you see "x" as a 1x1 matrix. Use normal parentheses and all should work as intended.
Of course you could uncheck "Collapse Nested Matrices" to see the values but I would strongly suggest to used just normal 'round' parentheses.
BTW, its way better to post the worksheet itself rather than just a pic or a pdf. That way we may also be able to spot the error in defining the variable "header".
When you defined x]i you typed square brackets and doing so creates a matrix. That's the reason why you see "x" as a 1x1 matrix. Use normal parentheses and all should work as intended.
Of course you could uncheck "Collapse Nested Matrices" to see the values but I would strongly suggest to used just normal 'round' parentheses.
BTW, its way better to post the worksheet itself rather than just a pic or a pdf. That way we may also be able to spot the error in defining the variable "header".
Omg, thank you. Such a small detail ruins everthing, haha, thank you again. Do you might also know why my header shows an error? I tried to upload the worksheet, but it always said "upload failed". Now it worked....🙃
You always answered my former questions, that's very kind of you. I appreciate you.
When putting the focus on the header you defined it can be seen that you have implicit multiplications (PTC calls it the scaling operator) between the elements.
To create a vector you have to use Shift+Enter between the elements of a row vector!
Thank you it worked!
@SO_10687563, ahhh... These look familiar:) Nice way to report arrays of results!
So, your equation for x_i, you are using square brackets instead of parenthesis. Square brackets always mean a matrix in Mathcad. So even though the math inside the square brackets resolve to a simple scalar value, the square brackets will make every element in i_x a "mini matrix" (a 1x1 matrix).
I'm not sure about the "header" issue since can't see the actual error message. Can you screen shot the area (Shift-Start-S) while you have that math selected and the error message is showing? Try completely deleting the "i" element and rewriting it. It may be getting mistaken with the unit vector "i" while you are writing it.
Thank you for your reply. And thanks for the quote : )