Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Editor - /Users/jamesduncasn/Documents/MATLAB/tridfun.m templ.m temp2.m n.m tridfun.mx trid.m temp1-2.m untitle n=4; a=[3 4 7 8]; b=[5 6 31: c=[1 5 3]; k [13 27 43

image text in transcribed

Editor - /Users/jamesduncasn/Documents/MATLAB/tridfun.m templ.m temp2.m n.m tridfun.mx trid.m temp1-2.m untitle n=4; a=[3 4 7 8]; b=[5 6 31: c=[1 5 3]; k [13 27 43 41]; function [ u ] = tridtun (n,a,b,c,k) n=length(u) ; for i-1: 10 - n-1 12 13 14 - 15 16 - end u(n)=u ( n ) /a(n); for i=n-1 :-1 : 1 18 - 19-en 20 - 21 end 23 Command Window Function with duplicate name "tridfu" cannot be defined. >>tridfun Error: File: tridfun.m Line: 7 Column: 18 Function with duplicate name "tridfun" cannot be defined

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions