p=(1./TSR+0.08.*(PA))-(0.035./(PA.^3+1));
l=inv(p);
p is a matrix of 1*20.
i want to take its inverse but matlab error says ''Matrix must be square''. please tell me, what shall i do if i want to take the inverse of p.
Thankyou

 채택된 답변

madhan ravi
madhan ravi 2020년 7월 22일

0 개 추천

p.^-1

댓글 수: 2

Asif Rashid
Asif Rashid 2020년 7월 22일
Thankyou Sir. its working
Dawit Teshome
Dawit Teshome 2021년 2월 19일
Hello! Madhan,
I am trying to convert a model from continuous to discrete and I used >> c2d(ASAS_Model,0.1,'zoh'); but I got errror on converting to discrete: Please find the below the error.
>> c2d(ASAS_Model,0.1,'zoh');
Error using c2d (line 57)
The A matrix must be square.
Could you please give us feedback about this issue. Thanks!
Dawit Teshome

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2020년 7월 22일

댓글:

2021년 2월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by