Kindly tell me if the code (MTPA) is wrong for calculating MTPA curve

2 views (last 30 days)
Varun Nair
Varun Nair on 2 Aug 2021
Commented: Varun Nair on 5 Aug 2021
I wish to get the Id and Iq current from the MPTA curve which I am attaching below and also the the code is attached for reference.

Answers (1)

Walter Roberson
Walter Roberson on 2 Aug 2021
Edited: Walter Roberson on 2 Aug 2021
MATLAB does not use 'RIGHT SINGLE QUOTATION MARK' (U+2019) ’ character: it uses apostrophe U+0027 '
0+char("'")
ans = 39
0+char("’")
ans = 8217
  1 Comment
Varun Nair
Varun Nair on 5 Aug 2021
Thanks Walter for your reply, I did not get where should I put them in the last line. Can you please tell me

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!