Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started