My try:
energy(i) = (1/2)*(A_I)^2)*(((w*66.7*10^-6)+(cos(w*66.7*10^-6)*sin(w*66.7*10^-6)))-((w*0*10^-6)+(cos(w*0*10^-6)*sin(w*0*10^-6))));
here A_I is a matrix input.
so,Is it possible to integrate the matrix value?
Can anyone help me out ...Thanks in advance..:)

回答 (1 件)

Torsten
Torsten 2015 年 3 月 24 日

0 投票

What exactly do you need ?
An antiderivative of f(t) = cos^2(w*t) is given by F(t)=0.5*t+0.25/w*sin(2*w*t).
So evaluate F in the limits t_low = 0 and t_high = 66.7e-6 to get the value of the integral.
Best wishes
Torsten.

カテゴリ

ヘルプ センター および File Exchange で MATLAB についてさらに検索

製品

タグ

質問済み:

2015 年 3 月 24 日

回答済み:

2015 年 3 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by