# control.matlab.care¶

`control.matlab.``care`(A, B, Q, R=None, S=None, E=None, stabilizing=True)

(X,L,G) = care(A,B,Q,R=None) solves the continuous-time algebraic Riccati equation where A and Q are square matrices of the same dimension. Further, Q and R are a symmetric matrices. If R is None, it is set to the identity matrix. The function returns the solution X, the gain matrix G = B^T X and the closed loop eigenvalues L, i.e., the eigenvalues of A - B G.

(X,L,G) = care(A,B,Q,R,S,E) solves the generalized continuous-time algebraic Riccati equation where A, Q and E are square matrices of the same dimension. Further, Q and R are symmetric matrices. If R is None, it is set to the identity matrix. The function returns the solution X, the gain matrix G = R^-1 (B^T X E + S^T) and the closed loop eigenvalues L, i.e., the eigenvalues of A - B G , E.
{"ft_lang_label":"__label__en","ft_lang_prob":0.8237285,"math_prob":0.9995931,"size":853,"snap":"2020-45-2020-50","text_gpt3_token_len":238,"char_repetition_ratio":0.12485277,"word_repetition_ratio":0.5205479,"special_character_ratio":0.2672919,"punctuation_ratio":0.21198156,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99998176,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,3,null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-11-30T08:28:09Z\",\"WARC-Record-ID\":\"<urn:uuid:bf366dae-703f-495d-8e4c-f24d82caf798>\",\"Content-Length\":\"14415\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:dd3aaa70-196d-4450-943e-1b8a53900809>\",\"WARC-Concurrent-To\":\"<urn:uuid:5eb657b3-6871-41ac-a135-2d58d845bb73>\",\"WARC-IP-Address\":\"104.17.32.82\",\"WARC-Target-URI\":\"https://python-control.readthedocs.io/en/latest/generated/control.matlab.care.html\",\"WARC-Payload-Digest\":\"sha1:3C5BLLJ2FCHEC5OUG4YOIOQZGNQO7PWB\",\"WARC-Block-Digest\":\"sha1:XI6M6GGHBCIJNAZOHBA6CUYKSM4BXKAH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141211510.56_warc_CC-MAIN-20201130065516-20201130095516-00153.warc.gz\"}"}