I can't integrate symbolic expression with abs(x), and using sign(real(x)) produces wrong results

8 次查看(过去 30 天)
I am using symbolic expression and I need to integrate a function that contains abs(), this takes so long without producing any result, I tried using sign(x) instead I have same result as using abs(), I tried using sign(real(x)) and this produces results but with error in the results.
Please, can anyone help with this?
Result when I use sign(real(x))

回答(1 个)

Star Strider
Star Strider 2021-12-1
My version of MATLAB cannot run images of code.
Apparently the variables have numeric values or the plot would not exist, so one option is to use matlabFunction on ‘drag_cw_function_column’ and integrate the resulting anonymous function numerically.
.
  18 个评论

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by