I need to type a very long equation. How can I do a line break ?

8 ビュー (過去 30 日間)
Truman Cassady
Truman Cassady 2018 年 12 月 9 日
コメント済み: hussien alamoudi 2020 年 10 月 5 日
I need to just continue the equation on the line below for convenience. Is there something that would allow me to break that equation to the next line?
  3 件のコメント
Stephan
Stephan 2018 年 12 月 9 日
BTW:
You got answers to a lot of questions here. Did you notice, that you can accept answers and/or vote for them? This is a kind of reward for the volunteers here, which help you with your problems.
Stephen23
Stephen23 2018 年 12 月 9 日
編集済み: Stephen23 2018 年 12 月 9 日
@Truman Cassady: so far you have accepted none of the answers to any of your eleven questions. Accepting and voting for answers is the easiest way for you to show your appreciation of the effort that the volunteers on this forum spend helping you to solve your problems.

サインインしてコメントする。

回答 (1 件)

Stephan
Stephan 2018 年 12 月 9 日
編集済み: Stephan 2018 年 12 月 9 日
Hi,
use for example:
f = @(x,y) 2*x^2 + 4*y^3 +...
4*y - 6*x^3 + 3*x^0.5...
- 2*x*y + 11*y^(-0.5) + 6
Answer:
f =
function_handle with value:
@(x,y)2*x^2+4*y^3+4*y-6*x^3+3*x^0.5-2*x*y+11*y^(-0.5)+6
The "..." tells Matlab that the expression is continued in the next line.
Best regards
Stephan

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by