what is wrong with my matrix?

2 views (last 30 days)
Emily Gobreski
Emily Gobreski on 16 Jun 2016
Edited: per isakson on 19 Jun 2016
AA=[1 0 1 0 0 0 0 0 0; 0 1 0 1 0 0 0 0 0; 0 0 -R*sind(theta) R*cosd(theta) 0 0 0 0 0; 0 0 0 0 1 0 1 0 0; 0 0 0 0 0 1 0 1 0; 0 0 -1 0 -1 0 0 0 0; 0 0 -c 3*R -c -3*R 0 0 0; 0 0 0 0 0 0 0 0 0; 0 0 0 0 0 0 0 0 0]
%
CC=[0 Md*g Id*alpha 0 Md*g Id*alpha Mp*ax Mp*ay+Mp*g Mb*g]
%
xx=CC/inv(AA)
%
Warning: Matrix is singular to working precision.
> In DynamicsProject (line 57)
> In DynamicsProject (line 57)
Warning: Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN.
  4 Comments
Emily Gobreski
Emily Gobreski on 16 Jun 2016
Edited: Emily Gobreski on 16 Jun 2016
Thank you Roger. I appreciate your answer. I am very new to MATLAB and I clearly have no idea what I'm doing. Again, I really appreciate your help.
Walter Roberson
Walter Roberson on 18 Jun 2016
Emily Gobreski comments to John:
I'm sorry you feel this way. I have this huge project due using MATLAB software, and I'm a first time MATLAB user. I do not wish for anyone to do the project for me. I just have no clue what I am doing.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!