Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi guys, how to fix this problems? L-65; C-10; a-15: x-linspace(0,65,1); t-linspace(0,10,1); [x,Tl-meshgrid(x,t) an-@(n)sin(pi*n*a/L)./(Ln.(2)-an.(2)) #xt-e(n) cos (c*n*pi*T/L). *sin (n*pi*X/L) ; U (2*L (2)/(pi*(2) *a))ones(size(X)) for

image text in transcribed

Hi guys, how to fix this problems?

L-65; C-10; a-15: x-linspace(0,65,1); t-linspace(0,10,1); [x,Tl-meshgrid(x,t) an-@(n)sin(pi*n*a/L)./(Ln.(2)-an.(2)) #xt-e(n) cos (c*n*pi*T/L). *sin (n*pi*X/L) ; U (2*L (2)/(pi*(2) *a))ones(size(X)) for m-1:20 Jommand windoW ass5 Error using surf (Line 82) Z must be a matrix, not a scalar or vector. Error in ass5 (Line 13) surf(x,t,U) U-U+an (m)*fxt(m); end surf(x,t,U) xlabel('x'),ylabel'yzlabel('u') L-65; C-10; a-15: x-linspace(0,65,1); t-linspace(0,10,1); [x,Tl-meshgrid(x,t) an-@(n)sin(pi*n*a/L)./(Ln.(2)-an.(2)) #xt-e(n) cos (c*n*pi*T/L). *sin (n*pi*X/L) ; U (2*L (2)/(pi*(2) *a))ones(size(X)) for m-1:20 Jommand windoW ass5 Error using surf (Line 82) Z must be a matrix, not a scalar or vector. Error in ass5 (Line 13) surf(x,t,U) U-U+an (m)*fxt(m); end surf(x,t,U) xlabel('x'),ylabel'yzlabel('u')

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

Students also viewed these Databases questions

Question

Discuss the importance of customer databases in direct marketing.

Answered: 1 week ago