Feeds
質問
Substitute variables without immediate evaluation
I am looking for a way of automating writing parts of reports. In particular, whenever I have an equation, I'd like to write it ...
4年以上 前 | 1 件の回答 | 0
1
回答回答済み
Printing out pi as a symbol in equations instead of the numerical value
The way I've dealt with it is to define the an_Id function like so: an_Id = @(T, m, d) T^2 * m * sym(g) * d / (4 * sym(pi)^2); ...
Printing out pi as a symbol in equations instead of the numerical value
The way I've dealt with it is to define the an_Id function like so: an_Id = @(T, m, d) T^2 * m * sym(g) * d / (4 * sym(pi)^2); ...
5年弱 前 | 0
| 採用済み
質問
Printing out pi as a symbol in equations instead of the numerical value
I have the following code: %%%%% Constants pi = 3.14159265; g = 9.80665; % [m/s^2] %%%%% Copy constants pi_ = 3.14159265;...
5年弱 前 | 3 件の回答 | 0