Community Profile

photo

Matthew Allred


Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


I'm getting an error in my program for Adams predictor corrector method. It is relating to a sym being assigned to a double vector.
My program looks like this function [t,y]=newPC(s,A,B,N,ALPHA) syms('T', 'W', 'I', 'K1', 'K2', 'K3', 'K4', 'T0', 'W0', '...

2 years ago | 1 answer | 0

1

answer

Answered
How can i use a vector variable inside a function normally
I was able to find the corrected code f = @(tspan) (tspan-2+2.^(1/2).*exp(1).*exp(-tspan.*(1/2))).^2 It appears i just nee...

2 years ago | 0

Question


How can i use a vector variable inside a function normally
I have this code i'm trying to get to run % This is a driver program which calls different methods at same place clc forma...

2 years ago | 2 answers | 0

2

answers