Wave equation using MATLAB

Hello, I am trying to solve this wave equation on matlab but I got no luck so far. Please help.
A string of 10 m is pulled upward in the middle to 1 meter and released. The string is not able to move at the two ends. Write the solution of the wave equation(c=1)
u/t (x,0)=0
u(0,t)=0
u(10,t)=0
u(x,0)={(x/5,0x5 and -x/5+2,5<x10)}

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 5 月 10 日

0 投票

The Mind-Reading Toolbox, Beta 0.3, reports:
On line 42 of your program, you have a * where you need to have .* instead.

2 件のコメント

Image Analyst
Image Analyst 2015 年 5 月 15 日

They're taking forever to release that. So some people are not waiting and are taking the matter into their own hands, or uh, minds:

http://www.smithsonianmag.com/innovation/why-brain-brain-communication-no-longer-unthinkable-180954948/

Why Brain-to-Brain Communication Is No Longer Unthinkable Exploring uncharted territory, neuroscientists are making strides with human subjects who can "talk" directly by using their minds

Image Analyst
Image Analyst 2015 年 5 月 15 日
They really should make it where editors/moderators posts are exempt from being labeled spam.

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

カテゴリ

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

タグ

質問済み:

Dan
2015 年 5 月 10 日

コメント済み:

2015 年 5 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by