Feeds
提问
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', '...
4 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
4 years 前 | 0
提问
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...
4 years 前 | 2 个回答 | 0