Community Profile

photo

Noor Ahmad


University of Maryland College Park

Active since 2016

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Adding input parameters to a function
So I have a function that uses fsolve to solve for two variables, lmb_1 and lmb_2. There are two other variables that I'd like t...

7 years ago | 1 answer | 0

1

answer

Question


Trying to solve a 2nd order ODE discretely , that requires external input. What am I doing Wrong ?
<</matlabcentral/answers/uploaded_files/51166/Screen%20Shot%202016-05-01%20at%202.02.17%20AM.jpg>> Above is the ODE, I am try...

8 years ago | 1 answer | 0

1

answer

1

answer

Question


Undefined function 'int' for input arguments of type 'double' I am trying to integrate a function. But, I keep getting the error: Undefined function 'int' for input arguments of type 'double'.
k=0.1; T1=400; T2=300; L=0.1; a=0.05; b=10; c=0.05; r=@(x) a+x-b*(x-c).^2; q = @(x) -k*pi*r(x).^2*((T2-T1)/L); q(0)...

8 years ago | 2 answers | 0

2

answers