Community Profile

photo

Karthik Agnihotri


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • Thankful Level 1
  • First Submission
  • Solver

View badges

Feeds

View by

Question


Double Interpolation from a table
I'm trying to interpolate off the table attached. E = xlsread('Exhaust_Cp.xlsx') m_dot_exhaust =[0.0168758667758187 0.01682863...

3 years ago | 1 answer | 0

1

answer

Question


Nonscalar arrays of function handles are not allowed; use cell arrays instead.
a_vec=[0.020 0.025 0.030]; for i=1:length(a_vec) dP_dt_1(i)=@(P) (a_vec(i).*P)-(b.*P.^2); [t_ode45_vec_1,y_ode45_vec_1] = ode...

4 years ago | 1 answer | 0

1

answer

Question


New to MATLAB here, can anyone tell me why when I try to run this it shows an error saying "Not Enough Input arguments"?
I_desired=1.15 [t1]=current(I_desired) function [t1]=current(I_desired) I=@(t) (I_desired)-(9*exp.^(-t).*sin(2*pi.*t)) t1=fz...

4 years ago | 1 answer | 0

1

answer