
Here's what I'm attempting: syms x y z q I've also tried to use the function solve for this, however even if I construct the equations represented by the matrices A and b above, I'm having issues. Here is the code I'm attempting to execute (from the answer at the above link): A = Īnd the output is: ? Undefined function or method linsolve' for input arguments of type 'sym'. Note: newer versions of solve () do not accept character vectors.

The first line of it should be function varargout solve (varargin) but you have some other first line instead. Is using linsolve with sym variables only possible in R2013b? I've also tried it with my school's copy, which is R2012b. /Applications/MATLABR2019a.app/toolbox/symbolic/symbolic/sym/solve.m appears to be corrupt. However, when I try to run the commands from the provided answer, or the linsolve help page, I get an error saying linsolve doesn't support arguments of type 'sym'.

I asked a question a few days ago here and got an answer that seems like it would work- it involves using linsolve to find the solutions to a system of equations that are all modulo p, where p is a non-prime integer.
