フィルターのクリア

Put a hat over the symbolic function/variable name

4 ビュー (過去 30 日間)
Rohan Savakar
Rohan Savakar 2019 年 6 月 25 日
コメント済み: Star Strider 2019 年 6 月 26 日
I would like to put a hat over the symbol nu as shown in the code below.
clear; clc;
syms mu nu(x) rho g theta L;
ode = mu*diff(nu(x),x,2) + rho*g*cos(theta) == 0;
bcond1 = nu(L) ==0;
dnu(x) = diff(nu(x));
bcond2 = dnu(0) == 0;
dif_Sol = dsolve(ode,[bcond1 bcond2]);
dif_Sol = simplify(dif_Sol);
% create a function nu_cap
  2 件のコメント
Bjorn Gustavsson
Bjorn Gustavsson 2019 年 6 月 26 日
I've never seen that done in matla-code. You most likely need to name your variables according to the matlab specification: Documentation about variable names. Why wouldn't a nu_hat name work for you? If you want to convert it to latex you might need to do some touch-up on the typesetting anyways...
HTH
Star Strider
Star Strider 2019 年 6 月 26 日

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

回答 (0 件)

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by